Hey,
I would like to share some settings with my whole team, especially:
- Code Style
- Inspections
- Dictionaries
- File templates
- Live templates
Is it possible to share this settings using source control??? If yes, which file should I add???
Also, should .idea catalog be added to source control??
Greetings, Piotr
Hi Piotr,
Check out this document: http://devnet.jetbrains.net/docs/DOC-1186
AppCode projects have ".idea directory based format"
Hope it helps,
-Eugene
Hey,
Thanks for a link. I followed instructions and included .idea directory (except workspace.xml) in repository, changed some project settings (code style, inspections, etc), committed it and pulled changes in other repository. Unfortunately settings changes was not propagated. Any ideas???
Greetings, Piotr
Could you please provide some details:
- have you created new scheme in the CodeStyle settings, copying it the project?
- have you created the new Inspections profile - shared or not?
- have you added all new-created files under .idea to vcs?
I've checked that the project settings sharing works for me generally, but the schemes selecting may look confusing.
It would be nice to get more information to understand the issue.
Hi Piotr,
thank you for reply.
The Live and File Templates (and other settings that are not project-specific and are changed on the IDE level) can be shared using File | ExportSettings... action.
Invoke File | ExportSettings... from the main menu and check the desired options in the appeared list. As a result the settings.jar file is createdwith teh specified options settings. It can be later imported via File | ImportSettings... by other team members.