如何在 Eclipse 中禁用 checkstyle?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/3287189/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-10 19:31:19  来源:igfitidea点击:

How to disable checkstyle in Eclipse?

eclipsecheckstyle

提问by pna

I have checkstyle plugin installed in my Eclipse. How do I disable it for a specific project in my workspace?

我的 Eclipse 中安装了 checkstyle 插件。如何为工作区中的特定项目禁用它?

If that is not feasible I would like to turn off checkstyle.

如果这不可行,我想关闭 checkstyle。

回答by VonC

You can also disable Checkstyle just on one project by the contextual menu at the project level.

您还可以通过项目级别的上下文菜单仅在一个项目上禁用 Checkstyle。

See:

看:

Desactivate Checkstyle

停用 Checkstyle

If you really need to uninstall the plugin, it is best to use:

如果确实需要卸载插件,最好使用:

Help/About/Installation Details 

Select the right plugins and uninstall them:

选择正确的插件并卸载它们:

Uninstall Plugins

卸载插件

回答by pna

Okay figured this out myself. Just need to remove the folder "com.atlassw.tools.eclipse.checkstyle_4.4.1" under the plugins folder of eclipse. Duh!

好吧,我自己想通了。只需要删除eclipse的plugins文件夹下的文件夹“com.atlassw.tools.eclipse.checkstyle_4.4.1”即可。呸!

回答by anirban

In latest eclipse version(9/2014) we have to visit Help -> Eclipse Marketand go to installed tab. Then select uninstall. After uninstallation this will ask for a eclipse restart. And that is it.

在最新的 Eclipse 版本 (9/2014) 中,我们必须访问Help -> Eclipse Market并转到已安装选项卡。然后选择卸载。卸载后,这将要求 eclipse 重新启动。就是这样。

enter image description here

enter image description here