在NetBeans中使用CheckStyle并配置CheckStyle规则(Using CheckStyle in NetBeans and configuring the CheckStyle rules)

我正在使用NetBeans 6.5。 对于CheckStyle,我已经下载并安装了nbcheckstyle.nbm插件。 我可以在这个插件中使用CheckStyle。

我想配置要检查的规则。 我无法这样做,因为它是一个.nbm文件。 有关如何配置规则的任何建议?

谢谢

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.

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?

Thanks

最满意答案

在“选项”对话框中指定“配置文件”。

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

Specify the "Config file" in the Options dialog.

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

在NetBeans中使用CheckStyle并配置CheckStyle规则(Using CheckStyle in NetBeans and configuring the CheckStyle rules)

我正在使用NetBeans 6.5。 对于CheckStyle,我已经下载并安装了nbcheckstyle.nbm插件。 我可以在这个插件中使用CheckStyle。

我想配置要检查的规则。 我无法这样做,因为它是一个.nbm文件。 有关如何配置规则的任何建议?

谢谢

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.

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?

Thanks

最满意答案

在“选项”对话框中指定“配置文件”。

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

Specify the "Config file" in the Options dialog.

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