PhpStorm 2023.2 Help

Source file structure

By default, PhpStorm 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 Group Methods by Type button to have all the methods that override/implement the methods of a particular class/interface grouped under the node that corresponds to this class/interface.

  • Click the Show Includes button to have all files included through include or require statements shown in the tree.

  • Click The Show Fields button to show class properties.

  • Click The Show Constants button to show constants.

  • 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 Anonymous Classes button to have anonymous classes shown in the tree.

  • 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

You can also see the VCS status color hints in the Structure tool window if your project is under version control. It helps you to make tracking changes in files more convenient. The names of modified objects become blue, and the names of the newly added objects appear in the tool window highlighted in green.

Highlighting changes in files
Last modified: 08 September 2023