如何清除Eclipse中的验证错误? [英] How do you clear the validation errors in Eclipse?

查看:207
本文介绍了如何清除Eclipse中的验证错误?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不小心点击了所有项目的验证(而不是进入团队>同步...),我有几个验证错误和吨的警告。

I accidentally clicked on "Validate" for all of my projects (instead of going to Team > synchronize...) and I have several validation errors and tons of warnings.

我不知道如何清除这些,所以它可以追溯到刚刚出现的标准错误。

I can't figure out how to clear these so it goes back to just having the standard errors.

(一种方法是去配置内容的问题视图,并取消选择验证错误,但我知道他们仍然在那里,只是隐藏...它错误我,他们实际上没有删除)

(One way is to go to "Configure Contents" of the "Problems" view and deselect the validation errors, but I know they're still there, just hidden... it bugs me that they're not actually removed)

我已经尝试重新启动eclipse,尝试清理所有项目,但是并不能清除这些验证错误。

I've tried restarting eclipse, tried cleaning all projects but that doesn't clear these validation errors.

推荐答案

能够在问题视图中选择所有违规标记,右键单击并从上下文菜单中选择 Delete 。清洁构建会导致所有构建器仅删除它们生成的标记,但这些标记不是由构建器生成的(您通过显式调用validate命令创建它们)。

You should be able to select all the offending markers in the Problems View, right-click and choose Delete from the context menu. Clean-building causes all builders to remove only the markers that they produced, but these markers weren't produced by a builder (you created them through an explicit invocation of the "validate" command.)

这篇关于如何清除Eclipse中的验证错误?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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