View source code hierarchy
Class hierarchy: Navigate | Type Hierarchy or
Call hierarchy: Navigate | Call Hierarchy or
Tool window: View | Tool Windows | Hierarchy
RubyMine enables you to examine the hierarchy of classes and calls in the Hierarchy tool window.
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 ().
Go to Navigate | Type Hierarchy or press .
Use the or buttons to display a hierarchy of parent or child classes, respectively.
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 ().
Select the method in the Rails view of the Project tool window.
Go to Navigate | Call Hierarchy or press .
Use button to show methods used by the method you are investigating.