IntelliJ IDEA 11.1 Web Help

11.0+↓

View | Tool Windows | Hierarchy

Alt+8Command 8

View | Tool Windows | Hierarchy

Alt+8Command 8

Prerequisite

Warning

This tool window becomes available only on building a hierarchy. Unless a hierarchy is created, the tool window is not available. Once created, the Hierarchy tool window helps you analyze and navigate through the hierarchies of classes , calls, or methods .

This tool window is not automatically updated as you navigate through the source code or change editor tab. The tool window shows the results of the latest hierarchy command and is updated when you run the next hierarchy command, unless a tab is pinned.

Toolbar buttons

Item Description
hierarchyClassButton When this button is pressed, the hierarchical tree shows both the parent and child classes of the selected class

Child classes are marked with an arrow hierarchyClassArrow in the tree of results.

Tip

For the interfaces this button is disabled.

hierarchyClassSubtypes Depending on the hierarchy type:
  • For class hierarchies - when this button is pressed, the tool window shows all classes that extend the selected class, or implement the selected interface.
  • For call hierarchies - when this button is pressed, the tool window shows the callees of the selected method.
hierarchyClassSupertypes Depending on the hierarchy type:
  • For class hierarchies - when this button is pressed, the tool window shows the hierarchy of each supertype of the current class.
  • For call hierarchies - when this button is pressed, the tool window shows the callers of the selected method.
sortAlphabetically When this button is pressed, the elements within a tree are sorted alphabetically.
Scope Use this drop-down list to select a scope, which the hierarchy in question should be confined to. In addition to the pre-configured scopes, you can define your own one: select Configure from the drop-down list, and define the required scope in the Scopes dialog box that opens.
refresh If you made any changes of the classes or the class structure, they become visible in the Hierarchy tool window only after you press this button.
autoScrollToSource Toggle the Autoscroll to source mode. When the button is pressed, every time the node is focused, the corresponding line of source code is highlighted in the editor.
pin When this button is pressed, the current tab will not be overwritten; instead, the results of the next command will be displayed in a new tab.
close Click this button to close the selected tab of results.
help Click this button to show reference page.

See Also

Procedures:

Reference:

Getting Started:

Web Resources: