View source code hierarchy
RubyMine enables you to examine the hierarchy of classes and calls in the Hierarchy tool window.
Build the hierarchy of classes
-
Choose the desired class in one of the following ways:
-
In the editor, place the caret at the class name.
-
Select the class in the Structure tool window (Alt+7).
-
Select the class in the Rails view of the Project tool window.
-
-
From the main menu, choose
or press Ctrl+H. -
Use the or buttons to display a hierarchy of parent or child classes, respectively.
Build the hierarchy of method calls
-
Choose the desired method in one of the following ways:
-
In the editor, place the caret at the method declaration or usage.
-
Select the method in the Structure tool window (Alt+7).
-
Select the method in the Rails view of the Project tool window.
-
-
From the main menu, choose
or press Ctrl+Alt+H. -
Use button to show methods used by the method you are investigating.