【发布时间】:2015-10-21 11:22:04
【问题描述】:
我正在使用 IntelliJ IDEA 的更新版本并尝试导出我的代码样式设置,以便所有从事特定项目的开发人员都可以使用它们。我在https://confluence.jetbrains.com/display/IntelliJIDEA/Code+Styles和http://forum.shakacode.com/t/sharing-your-intellij-rubymine-webstorm-codestyle-among-developers/240阅读了教程,看起来很简单。
不幸的是,这不是我的“导出设置”窗格的样子,而且我没有一行显示“代码样式”。我的看起来像
我能找到的最接近的是我突出显示的行,其中包含 CodeStyleSettingsManager 以及一大堆其他内容。但是我尝试使用它并提取 .jar 文件,却发现里面根本没有任何东西。
有没有人知道一种导出代码样式的方法,适用于最新版本的 IntelliJ?
编辑:我的 codeStyleSettings.xml 文件只包含以下内容:
<project version="4">
<component name="ProjectCodeStyleSettingsManager">
<option name="PER_PROJECT_SETTINGS">
<value/>
</option>
<option name="USE_PER_PROJECT_SETTINGS" value="true"/>
</component>
</project>
【问题讨论】:
标签: intellij-idea coding-style intellij-14 code-standards