Add ".idea" folder under VCS (SVN) [5.2.1-RC1]
At Intechnic we're using PhpStorm (http://www.jetbrains.com/phpstorm/) to develop In-Portal. It always creates an ".idea" folder in root of the project. Before we haven't analyzed what exactly is stored in that folder and simply excluded it from VCS commits. It turns out this was a mistake, because majority of files in the ".idea" folder was in fact designed to be committed (see https://intellij-support.jetbrains.com/entries/23393067) in VCS and shared across multiple developers working on same project.
This will work, because all folder/file paths in these sharable configuration files are stored in relative format (e.g. $PROJECT_DIR$/....). So I think, that:
we should add ".idea" folder under VCS control
exclude following (via "svn:ignore" property) from it:
dictionaries - folder, that contains user-specific spelling dictionary entries
libraries - folder, that contains compiled data that might contain user credentials
dataSources.ids - data source data
dataSources.xml - data source configuration
workspace.xml - IDE layout on a project
tasks.xml - list of tasks, that user created locally
deployment.xml - list of deployment servers specific to user computer
How to configure project to be shared
when creating "Scopes" mark then as shared
instead of using Global code style copy it to the project instead
use shared inspection profiles
How to migrate existing projects
close project and exit from PhpStorm
rename ".idea" folder into ".idea.bak"
perform VCS update on a project
copy over following folders/files (if you have them) from ".idea.bak" info ".idea" folder (basically same folders/files that were excluded from commit previously):
dictionaries
libraries
dataSources.ids
dataSources.xml
workspace.xml
tasks.xml
deployment.xml
start PhpStorm and open project