View source code hierarchy
Last modified: 01 August 2022Class hierarchy: Navigate | Type Hierarchy or Ctrl+H
Call hierarchy: Navigate | Call Hierarchy or Ctrl+Alt+H
Tool window: View | Tool Windows | 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).
From the main menu, choose Navigate | Type Hierarchy 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 Navigate | Call Hierarchy or press Ctrl+Alt+H.
Use
button to show methods used by the method you are investigating.
Thanks for your feedback!