Java eclipse突出缺少括号 [英] Java eclipse highlight missing brackets
本文介绍了Java eclipse突出缺少括号的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在任何地方找不到该选项。有什么方法在eclipse警告这样的东西吗? if(a == b)continue;
而不是 if(a == b){continue;}
I just can't find the option anywhere. Is there some way in eclipse to warn about stuff like this? if(a==b)continue;
instead of if(a==b){continue;}
推荐答案
=http://checkstyle.sourceforge.net/ =nofollow> CheckStyle
CheckStyle is a nice tool which can also be used as a plugin for eclipse. You can specify different kinds of coding styles you want to enforce on you / your team, by configuring rules in this tool. This could help you create your custom check.
这篇关于Java eclipse突出缺少括号的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文