eclipse Checkstyle的Configure project(s) from blueprint选项是什么意思?

如题所述

第1个回答  2018-03-12
eclipse中configure选项是支持配置checkstype的。
可以通过右键点击Porject中,PropertiesàCheckstyle,在Configure选项中配置相应的模板文件,并勾选Checkstyle active for this project如下图:

或者也可以通过 选择某个项目,点击右键选择“Checkstyle”,会出现如下菜单:
1) Configure project(s) from blueprint:指定工程加入Checkstyle检查;
2) Activate Checkstyle:激活Checkstyle;
3) Deactivate Checkstyle:取消激活Checkstyle;
4) Check code with Checkstyle:使用Checkstyle检查代码;
5) Clear Checkstyle violations:去掉Checkstyle的检查提示。
选择“Check code with Checkstyle”对所选中的项目进行检查,检查后对有问题的类会使用警告或错误标识。参考提示信息如下:
相似回答
大家正在搜