[英]Advantage of using checkstyle rather than using Eclipse built in code formatter?
Is there any functional advantage of using checkstyle instead of Eclipse own code formatter? 使用checkstyle而不是Eclipse自己的代码格式化程序是否有任何功能优势? In either case, we would add some custom rules, but it would largely be based on Sun's java code convention. 在任何一种情况下,我们都会添加一些自定义规则,但它主要基于Sun的java代码约定。
Here are some advantages for using checkstyle : 以下是使用checkstyle的一些优点:
The advantage of Eclipse formatter/styler, of course, is that it's already built into the IDE, so if your team is already standardized on Eclipse you can get everyone up and running very quickly. 当然, Eclipse formatter / styler的优势在于它已经内置在IDE中,因此如果您的团队已经在Eclipse上标准化,那么您可以非常快速地启动并运行所有人。 But using checkstyles gives you more options. 但使用checkstyles可以为您提供更多选择。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.