WebStorm
 
Get WebStorm

Project settings

Last modified: 08 October 2024

In WebStorm, you can configure settings for specific projects or globally at the IDE level. For more information, refer to Configuring the IDE.

The project level settings are applied to the current project only. These settings are stored as xml files in the .idea directory of your project folder:

  • The <project name>.iml file describes the project structure.

  • The workspace.xml file contains your workspace preferences including Run/debug configurations.

  • Each xml file is responsible for its own set of settings, that can be recognized by its name: projectCodeStyle.xml, encodings.xml, vcs.xml and so on.

    Thus, for example, adding a new run/debug configuration and changing encoding will affect two different xml files. This helps avoid merge conflicts when the project settings are stored in a version control system and modified by the different team members.

To configure project settings, select WebStorm | Settings on macOS or File | Settings on Windows and Linux from the main menu. Alternatively, you can press CtrlAlt0S to show the IDE settings.

In the Settings dialog, project settings that apply only to the current project are marked with the Project settings icon. Other settings are global and apply to all existing projects.

Project abd global settings marked in the Settings dialog