Project settings apply to the current project only. They are stored together with other project files in the .idea directory in XML format.
For example, project settings include VCS settings, code style settings, the list of language injections, and so on. You can add these settings to your VCS along with other project files.
To configure project settings, selectfrom the main menu. Alternatively, you can press ⌃ ⌥ S to show the IDE settings.
In the Preferences dialog, project settings that apply only to the current project are marked with the icon. Other settings are global and apply to all existing projects.
If you want to share project 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.
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.