How to share config between developers?
Q: Can we check in (parts of) the .idea folder as in VS Code?
https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
- All files under the .idea directory in the project root except the items that store user-specific settings:
- workspace.xml
- usage.statistics.xml
- shelf directory
- All the .iml module files (can be located in different module directories) -> applies to IntelliJ IDEA
https://www.jetbrains.com/help/idea/creating-and-managing-projects.html#share-project-through-vcs
SO says
Jetbrains official gitignore
https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
But but I just want to set required plugins for the whole team
- https://www.jetbrains.com/help/idea/sharing-your-ide-settings.html
- https://www.jetbrains.com/help/idea/configure-project-settings.html#share-project-through-vcs
- https://stackoverflow.com/questions/39875823/how-to-share-installed-plugins-in-intellij-with-team
- https://youtrack.jetbrains.com/issue/IDEA-35331
We need to specify “required plugins” ((Preferences | Build, Execution, Deployment | Required Plugins)
).