来自checkstyle配置的IntelliJ IDEA代码格式 [英] IntelliJ IDEA code format from checkstyle configuration
问题描述
我决定为android maven插件做贡献。
I've decided to contribute to android maven plugin.
他们使用非常具体的代码样式格式。我需要一些时间来修改IDEA代码格式规则以满足他们的要求。
They use quite specific code style format. It will take some time for me to modify IDEA code format rules to satisfy their requirements.
幸运的是有checkstyle配置。我已经为IDEA安装了check-style插件,并立即看到我当前的格式错误。
Fortunately there is checkstyle configuration. I've already installed check-style plugin for IDEA and immediately see where my current formatting is wrong.
不幸的是我没有找到将checkstyle配置导入IDEA格式的方法规则。
Unfortunately I didn't find way to import checkstyle configuration into IDEA formatting rules.
我很感兴趣,如果可能的话。
I'm interested if it's possible.
推荐答案
更新:自4.24.0插件版本支持,详情请见。
UPDATE: supported since 4.24.0 plug-in version, see here for details.
2013年的原始答案:
Original answer from 2013:
尚不可能,请加星标/投票以跟踪进度问题。
Not possible yet, please star/vote to track the progress of the issue.
这篇关于来自checkstyle配置的IntelliJ IDEA代码格式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!