在NetBeans中使用CheckStyle并配置CheckStyle规则 [英] Using CheckStyle in NetBeans and configuring the CheckStyle rules

查看:71
本文介绍了在NetBeans中使用CheckStyle并配置CheckStyle规则的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用NetBeans 6.5.对于CheckStyle,我已经下载并安装了 nbcheckstyle.nbm 插件.我可以与此插件一起使用CheckStyle.

I am using NetBeans 6.5. For CheckStyle, I have downloaded and installed the nbcheckstyle.nbm plugin. I am able to use CheckStyle with this plugin.

我想配置要检查的规则.我无法执行此操作,因为它是一个 .nbm 文件.关于如何配置规则有什么建议吗?

I want to configure the rules to be checked. I am not able to do it as it is an .nbm file. Any suggestion on how to configures the rules?

谢谢

推荐答案

在选项"对话框中指定配置文件".

Specify the "Config file" in the Options dialog.

可以在屏幕截图中看到.(设置为netbeans_checks.xml).

This can be seen in the screenshot. (Set as netbeans_checks.xml).

这篇关于在NetBeans中使用CheckStyle并配置CheckStyle规则的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆