IntelliJ IDEA 2019.2 Help

Viewing Structure of a Source File

You can examine the structure of the file currently opened in the editor using the Structure tool window Alt+7 or the Structure popup Ctrl+F12.

By default, IntelliJ IDEA shows all classes, methods, and other elements of the current file. To toggle the elements you want to show, click the corresponding buttons on the Structure tool window toolbar. For example:

  • Click The Show Fields button to show class fields.

  • Click The Show Inherited button to show inherited members.

  • Click The Show Included Files button to show included files.

Displaying class members in the Project tool window

  • Right-click the Project tool window title bar and select Show members from the context menu.

    Show class members in the Project tool window
Last modified: 17 October 2019