如何仅共享IntelliJ设置存储库的一部分?

时间:2018-07-06 22:36:45

标签: intellij-idea

我正在测试“设置存储库”功能,但是我们只想共享某些设置。具体来说,代码样式和检查。据我到目前为止所知,您必须分享所有内容或不分享任何内容。

但是每个人都有自己的键盘映射和配色方案,我们不想共享这些位。

是否可以配置此IntelliJ功能以仅共享设置的选定部分?

1 个答案:

答案 0 :(得分:0)

You can create a scheme for your project by selecting "Project" in the Code Style configuration:

Code Style Settings

When doing that, a "Project" code style file will be generated in your project tree:

Project.xml file

You can add this file to your VCS, like Git. And everyone working with you will be able have the same settings for Code Style.