On this page:
Basics
You can examine the structure of the file currently opened in the editor using the Structure tool window or the Structure pop-up window.
By default, IntelliJ IDEA shows all the classes, methods, etc. presented in the current file.
To have other members displayed, click the corresponding buttons on the toolbar of the Structure tool window.
You can also have class members shown in the Project tool window.
Viewing the structure of a file
- On the main menu, choose to show the Structure tool window.
- Press Structure tool button to show the Structure tool window.
- Press ⌘7⌘7⌘7⌥ 7⌥ 7 to show the Structure tool window.
- Press ⌘F12⌘F12⌘O^ F12^ F12 to show the Structure popup.
Viewing members
- Click
on the toolbar of the Structure tool window.
By default, IntelliJ IDEA shows only methods, constants, and fields defined in the current class. If shown, inherited members are displayed gray.
-
Turn on the Show members item on the context menu of the Project
tool window title bar.
If this option is on, the files in the tree that contain classes turn into nodes.
When such node is unfolded, the contained classes with their fields, methods, and other members
of the selected item are shown.

on the toolbar of the Structure tool window.
on the toolbar.