AppCode 2018.2 Help

Hierarchy Tool Window

View | Tool Windows | Hierarchy
⌘8

Use the Hierarchy tool window to analyze and navigate through hierarchies of classes, calls, methods or imports.

You can update the previously built hierarchy by clicking the Refresh icon (icons actions refresh svg) in the Hierarchy tool window. Alternatively, the results are updated when you run the next hierarchy command (unless you pinned (icons general pin tab svg) the tab with one of the previously built hierarchies).

Toolbar buttons

ItemDescriptionAvailable In
icons toolwindows toolWindowHierarchy Shows both the parent and child classes of the selected class, which is marked with an arrow hierarchyClassArrow in the tree of results. Class hierarchies
icons hierarchy supertypes svg Depending on the hierarchy type:
  • Class hierarchies: Shows the hierarchy of each supertype of the current class.
  • Call hierarchies: Shows the callers of the selected method.
Class hierarchies
Call hierarchies
icons hierarchy subtypes svg Depending on the hierarchy type:
  • Class hierarchies: Shows all classes that extend the selected class.
  • Call hierarchies: Shows the callees of the selected method.
Class hierarchies
Call hierarchies
icons objectBrowser sorted svgSorts all elements within a tree alphabetically.All hierarchies
ScopeUse this drop-down list to limit the scope of the current hierarchy:
  • Project: Traces usages of the method across the project.
  • Test: Traces usages of the method across the test classes.
  • All: Traces usages of the method across the project and the libraries.
  • This class: Limits the scope to the current class.

In addition to the preconfigured scopes, you can define your own one. To define a scope, select Configure from the drop-down list, and define the required scope in the Scopes dialog box.

Call hierarchies

In a method hierarchy, the tree views of the following classes are available:

  • icons general add: The method is defined.
  • icons general remove svg: The method is defined only in the superclass.
  • icons general exclMark: The method must be defined because the class is not abstract.
icons actions refresh svgShows all updated classes or class structures.All hierarchies
icons general autoscrollToSourceMoves to a file and a section in a source code that corresponds to the selected node in the hierarchy tree.All hierarchies
Pin buttonLocks the current tab from closing and reusing. Results of the next command are displayed in a new tab. All hierarchies
icons.toolbarDecorator.export.svg.pngExports a hierarchy into a text file. You can specify a location for this file.All hierarchies
icons.actions.close.pngCloses the selected tab.All hierarchies
icon_help.pngShows the reference page.All hierarchies
Last modified: 16 August 2018

See Also