IntelliJ IDEA
 
Get IntelliJ IDEA
You are viewing the documentation for an earlier version of IntelliJ IDEA.

Source file structure

Last modified: 24 June 2021

The Structure tool window: View | Tool Windows | Structure or Alt+7

The Structure popup: Navigate | File Structure or 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 Lambdas button to show lambdas.

Structure tool window