是否可以更改简单的 CheckStyle 属性 而无需新的 XML 文件?

Is it possible to change a simple CheckStyle property without the need of a new XML file?

基本上,我对 Checkstyle 默认配置很满意,我唯一想改变的是 LineLength.max。

我尝试在 Checkstyle 的 Netbeans 选项中设置 属性 Checker.TreeWalker.LineLength.max=120

项目特定选项似乎被忽略了。还有其他方法吗?

不,afaik,您必须复制整个配置文件并更改副本中的 属性。悲伤但真实...