禁用对 Eclipse 项目的错误检查

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/4426268/
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-19 15:28:47  来源:igfitidea点击:

Disable error checking on an eclipse project

eclipse

提问by jax

I want to totally disable error checking on a project so that no warnings or errors will show in the "Problems" tab. Can this be done?

我想完全禁用项目的错误检查,以便“问题”选项卡中不会显示警告或错误。这能做到吗?

回答by Thilo

On the "Problems" tab, click on the little triangle (in the title bar on the right side, next to the controls for minimizing and maximizing the window), select "Configure Contents", and then you can define filters.

在“问题”选项卡上,点击小三角(右侧标题栏,窗口最小化和最大化控件旁边),选择“配置内容”,即可定义过滤器。

回答by sjngm

Maybe if you create a general project rather than a Java project?

也许如果您创建一个通用项目而不是 Java 项目?

Depending on what you want I think it should also work if you disable "Build Automatically" in the Project-menu.

根据您的需要,我认为如果您在项目菜单中禁用“自动构建”,它也应该可以工作。

回答by Brad Mace

You can also simply close the project if it's one you're not working on at the moment. Closed projects aren't included in the Problems view.

如果您目前不在工作,您也可以简单地关闭该项目。已关闭的项目不包括在问题视图中。