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.

You can open the Include Hierarchy window as pop-up window or as a window in the IDE. If you open the Include Hierarchy window in the IDE when the Type Hierarchy window is open, the Include Hierarchy window replaces the Type Hierarchy window.

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 in a window in the IDE, choose View Include Hierarchy. The Hierarchy window opens to the right of Source Editor window.
  4. To display the include hierarchy in a pop-up window, choose Inspect Include Hierarchy. The pop-up Hierarchy window opens.

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 (IDE window only) Updates the hierarchy display.
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

Legal Notices