In WebStorm, you can configure settings for specific projects or globally, at the IDE level, see Configuring the IDE for details.
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 Work with 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, selectfor macOS (Ctrl+Alt+S) or for Windows and Linux.
In the Settings/Preferences dialog, settings that are marked with the icon apply only to the current project. Other settings are global and apply to all existing projects.
Share your project settings
Copy global settings to the project level
Default settings for new projects
You can configure project settings not only for the current project, but for all projects that you will create later. This means that you can set the new default settings for your projects.
From the main menu, select.
If you have a project with settings and configuration that you want to reproduce in new projects, you can save this project as a custom project template and then use this template for product creation. Learn more from Project templates.