RubyMine 2021.1 Help

View source file structure

RubyMine allows you to examine the high-level structure of the opened file using the Structure tool window Alt+7. You can use this tool window to quickly navigate between methods or tests in Ruby files, elements in HTML files, and so on.

Structure view

Toolbar icons of the Structure tool window

IconDescription
Sort AlphabeticallySort Alphabetically: sort the list alphabetically.
Instance variableShow Variables: show instance and class variables.
Show InheritedShow Inherited: display all the methods and fields inherited by the current class and accessible from it.
Show Migration FieldsShow Migration Fields: show database fields from db/schema.rb for a currently opened model file.
Navigate with Single ClickNavigate with Single Click: navigate to a declaration of the item in the source code when you select the item in the Structure tool window.
Always Select Opened ElementAlways Select Opened Element: navigate to the item in the Structure tool window when you click the item declaration in the source code.
Last modified: 08 March 2021