View source code hierarchy
Class hierarchy: Navigate | Type Hierarchy or Ctrl0H
Call hierarchy: Navigate | Call Hierarchy or CtrlAlt0H
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 (Alt07).
Go to Navigate | Type Hierarchy or press Ctrl0H.
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 (Alt07).
Select the method in the Rails view of the Project tool window.
Go to Navigate | Call Hierarchy or press CtrlAlt0H.
Use
button to show methods used by the method you are investigating.
Thanks for your feedback!