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:
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 |
---|---|
![]() |
Updates the hierarchy display. |
![]() |
Changes the list to the files that include the file (the default view for header files). |
![]() |
Changes the list to the files that are included in the file (the default view for source files). |
![]() |
Toggles between the list of only files that directly include or are included, and the list of all files that include or are included. |
![]() |
Toggles between a plain list and a tree view. |
See Also | |
---|---|
Going to an Included File Switching Between Source and Header Files |