PhpStorm 2018.3 Help

Menus and toolbars

PhpStorm menus and toolbars contain commands that affect the entire project or large sections of the project. To apply a command to the current context, use context-sensitive pop-up menus. Most of the commands has an associated keyboard shortcut to enable quicker access to it.

Use menu items with a checkbox in the View menu to show or hide the main elements of the PhpStorm window. For example, if you want to show the main toolbar, select View | Toolbar.

ps menusToolbars

Main elements of PhpStorm window

1. Main menu
By using the main menu, you can open and create projects, refactor the code, run and debug applications, keep files under version control, or run other commands.
2. Main toolbar
The main toolbar contains buttons that duplicate the essential commands for quicker access.

By default, the main toolbar is hidden. To display it, select View | Toolbar on the main menu.

3. Navigation bar
The Navigation bar is an alternative to the Project tool window.
4. Context menus
Context menus, available with right-click, contain commands applicable to the current context.
5. Pop-up menus
Pop-up menus, available with Alt+Insert, contain commands applicable to the current context.

Tips and tricks

  • Show or hide the main elements of the PhpStorm UI by using the View menu.

  • Descriptions of the actions from menus and toolbar buttons are displayed in the left side of the Status bar.

  • If you know which action you want to perform, but do not know where to find it, press Ctrl+Shift+A, type the action name, and select it from the suggestion list.

The Linux native menu

In PhpStorm for Linux, you can use the Macintosh-style menu – a horizontal menu bar attached to the top of the screen.

Enable the native menu

  1. Press Ctrl+Shift+A to open the Find Action dialog, type Experimental features, and press Enter.

  2. Select the checkbox next to the option, apply the changes, and close the dialog.

  3. Restart PhpStorm.

Linux native menu enabled for the IDE


The native menu is an experimental feature that may not work correctly with all Linux window managers. If your IDE doesn't start after you have enabled the native menu, disable it using the JVM options:

  1. Open the Toolbox App, click the Settings icon next to the necessary instance, and select Settings.

  2. Next to Java Virtual Machine options, click Edit.

  3. Add the following line to the file and save the changes:

  4. Start PhpStorm.

  1. Create a copy the file with JVM options (options that are used to run PhpStorm):

    <IDE_HOME>/bin/phpstorm64.vmoptions (for the default 64-bit JVM)
    <IDE_HOME>/bin/phpstorm.vmoptions (for optional 32-bit JVM)

  2. Insert the file copy to the configuration directory located in: ~/.<PRODUCT><VERSION>/config.

  3. Add the following line to the file and save the changes:

  4. Start PhpStorm.

Last modified: 18 March 2019

See Also