PhpStorm 2019.3 Help

Configuring Project and IDE Settings

In PhpStorm, you can configure settings and structure on two levels — the project level and the IDE level.

Project-level settings and structure

The project level settings and structure are applied to the current project only. These settings are stored together with other project files in the .idea directory.

If your project is under a version control, it is recommended that you store XML files with project-specific settings (the .idea folder inside the project folder) under version control, the exception being workspace.xml and tasks.xml, which store user-specific settings.

You can refer to JetBrains.gitignore on GitHub to see what should be ignored.

Access the project-level settings

Do one of the following:

  • Press Ctrl+Alt+S

  • From the main menu, select File | Settings for Windows and Linux, or PhpStorm | Preferences for macOS

In the Settings/Preferences dialog, project-level settings are marked with the For current project icon For current project.

IDE-level (global) settings and structure

The IDE level (global) settings and structure are applied to all newly created projects. The list of the IDE-level settings contains less options, but it enables you to change the editor settings, create custom scopes, configure inspections, set VCS-specific settings, and so on.

If you want to share the IDE settings between already existing projects, you can use the Settings Repository or the Settings Sync plugin. You can also export the settings to a ZIP archive and import it later to other IDE instances. However, note that the settings import may not work correctly if you already use the Settings Repository or the Sync plugin.

Access the IDE-level settings

  • From the main menu, select File | Settings for New Projects for Windows and Linux, or File | Preferences for New Projects for macOS.

Find an option or setting

  1. Access either the project- or the IDE-level settings.

  2. In the search field of the Settings/Preferences dialog, start typing the text that you expect to find in the name of the setting. As soon as the specified text is found, the matching element is highlighted and the corresponding page is displayed.

    Find settings

Restore the default IDE settings

To restore the PhpStorm default settings, remove the configuration directory when the IDE is not running.


For more information, see PhpStorm configuration directory.

Monitor the IDE performance

In case of performance issues, you can use the Activity Monitor to see the percentage of time that the CPU is busy processing operations from various subsystems and plugins.

  • From the main menu, select Help | Activity Monitor. It lists all subsystems and plugins that are using the CPU at the moment, and arranges them by how much %CPU they are using.

    Activity Monitor
Last modified: 27 February 2020