A project in MPS is represented in the Directory Based Format. A project directory is marked with a icon.
Such project directory contains a .idea directory, with the following files:
- *.iml file that describes the project structure.
- workspace.xml that contains your workspace preferences.
- A number of .xml files. Each .xml file is responsible for its own set of settings, that can be recognized by its name:
projectCodeStyle.xml, encodings.xml, vcs.xml etc.
Thus, for example, adding a new run/debug configuration and changing encoding will affect 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.
The file in .idea directory that stores your local preferences (workspace.xml) file should not be placed under version control. All the other settings files should be shared.
.idea directory is not visible in the Project view.