How to share Code Style settings between developers in IntelliJ

后端 未结 4 1997
不思量自难忘°
不思量自难忘° 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:03

    The Settings Repository feature was introduced at IntelliJ IDEA 2016.

    This option helps us to share IDE settings between different computers, including sharing settings between developers.

    The settings are stored at Git repository, for example on GitHub or Bitbucket.

    To setup Git repository we should set URL via Settings Repository menu option.

    The developer can load remote settings, overwrite remote settings or merge local settings with remote ones.

    The structure of Git repository with settings:

    I used personal access token for GitHub authentication.


    More information:

    • Settings Repository
    • Creating a personal access token for the command line

提交回复
热议问题