How to share Code Style settings between developers in IntelliJ

后端 未结 4 1983
不思量自难忘°
不思量自难忘° 2020-12-08 01:21

I would like all developers on my team to use the same default code style settings. We all use IntelliJ 11+ as our IDE and we use git as our source control system.

4条回答
  •  离开以前
    2020-12-08 02:18

    Code Style can be copied to project and saved in .idea/codeStyles to be shared via version control:

    Copy to Project Click this button to create a copy of the current global scheme to the project level. After creating the copy, IntelliJ IDEA suggests to switch to this new scheme at the project level.

提交回复
热议问题