忽略Eclipse项目中的所有警告 [英] Ignoring all warnings in an Eclipse project

查看:531
本文介绍了忽略Eclipse项目中的所有警告的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

假设你的Eclipse工作区中有一堆项目。有些是Java项目,有些可能是CDT项目,其他可能来自第三方插件,如TeXlipse或EPIC。您努力生产高质量的代码,但在一个具体的项目中,您有几个警告,不会出现自己的错误 - 警告将链条传播到您的工作集中,并捅你


  1. Eclipse 3.7中是否有通用的方法告诉IDE它应该忽略(并且很安静)所有来自特定项目的警告,不管负责的插件是否可以提供或不支持任何支持?


  2. 从我可以看出,Eclipse 3.8(或者是4.2?)会有更好的警告处理。要等待几天才能出来帮忙解决这个具体问题?



解决方案

最好我可以建议点击问题查看标题栏右侧的小小的向下三角形。从该下拉菜单中选择配置内容。我不认为您可以过滤特定项目的错误,但您可以筛选出各种错误。


Suppose that you have a bunch of projects in your Eclipse workspace. Some are Java projects, some may be CDT projects, others may come from third party plugins such as TeXlipse or EPIC. You strive long and hard to produce quality code, yet in one specific project you have a couple of warnings, through no fault of your own - warnings that propagate up the chain to your working set and poke you in the eye.

  1. Is there a general way in Eclipse 3.7 to tell the IDE that it should ignore (and be quiet about) all warnings from a specific project, regardless of whatever support the responsible plugin may or may not provide?

  2. From what I can tell, Eclipse 3.8 (or is it 4.2?) will have a better handle of warnings. Would waiting a couple of days for it to come out help at all with this specific issues?

解决方案

Best I can suggest is to click on the little downward-pointing triangle on the right side of the Problems View title bar. From that drop down menu select Configure Contents. I don't think you can filter out errors for a specific project, but you can filter out kinds of errors.

这篇关于忽略Eclipse项目中的所有警告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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