Viewing Structure of a Source File
You can examine the structure of the file currently opened in the editor using the Structure tool window , or the Commander, or the Structure pop-up window.
By default, IntelliJ IDEA shows all the namespaces, classes, methods, and functions presented in the current file.
To have other members displayed, turn on the the corresponding options on the context menu of the title bar of the Structure window.
On this page:
To view the file structure, do one of the following
To have class fields displayed
- Turn on the Show Fields option on the context menu of the title bar.
To have inherited members displayed
- Turn on the Show Inherited option on the context menu of the title bar.
To have included files displayed
- Turn on Show Includes option on the context menu of the title bar.