Using the Include Hierarchy Window

See Also

The Include Hierarchy window lets you inspect all header and source files that are directly or indirectly included in a source file, or all source and header files that directly or indirectly include a header file.

To open the Include Hierarchy window:

  1. Open the source or header file.
  2. In the Source Editor, do one of the following:
  3. To display the include hierarchy, choose Navigate > View Includes Hierarchy. The Hierarchy window opens to the right of Source Editor window.

For a source file, the default hierarchy display is a plain list of all directly and indirectly included files. For a header file, the default hierarchy display is a plain list of files that directly include the header file. For an included file, the default hierarchy is a plain list of the files that directly or indirectly include the file.

Buttons at the bottom of the Include Hierarchy window allow you to change the display:

Button Description
Refresh button Updates the hierarchy display.
Who Includes This File button Changes the list to the files that include the file (the default view for header files).
Who Is Included in the File button Changes the list to the files that are included in the file (the default view for source files).
Recursive Include/Direct Only Include button Toggles between the list of only files that directly include or are included, and the list of all files that include or are included.
Tree View/Plain List button Toggles between a plain list and a tree view.
See Also
Going to an Included File
Switching Between Source and Header Files

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.