
[英]How to get rid of Checkstyle message 'File does not end with a newline.'
[英]Is it possible to change a simple CheckStyle property without the need of a new XML file?
基本上,我对Checkstyle的默认配置感到满意,唯一要更改的是LineLength.max。
我尝试在Netbeans选项中为Checkstyle设置属性Checker.TreeWalker.LineLength.max=120
。
项目特定的选项似乎被忽略了。 还有另一种方法吗?
不,afaik,您必须复制整个配置文件并更改副本中的属性。 悲伤但真实...
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.