IntelliJ IDEA 2022.3 Help

Source file structure

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.

  • Click The Show Fields button to show class fields.

  • Click the Show Protected Members button to have protected class members shown in the tree.

  • Click the Show Private Members button to have private class members shown in the tree.

  • Click The Show Inherited button to show inherited members.

  • Click The Show Lambdas button to show lambdas.

Structure tool window

Show class members in the Project tool window

  • Right-click the Project tool window title bar and select Tree Appearance | Show Members from the context menu.

    Show class members in the Project tool window
Last modified: 02 December 2022