Ignore all warnings in an Eclipse project

Suppose you have a bunch of projects in an Eclipse workspace. Some of these are Java projects, some may be CDT projects, others may be third-party plugins such as TeXlipse or EPIC. You strive for a long and difficult time to produce high-quality code, but in one specific project you have several warnings, not through your own fault. Alerts spreading up the chain to your work set and poke in the eyes

  • Is there a general way in Eclipse 3.7 to tell the IDE that it should ignore (and be calm) all warnings from a particular project, regardless of what support the responsible plugin can or cannot provide?

  • From what I can tell, Eclipse 3.8 (or is it 4.2?) Will have a better warning descriptor. Would he expect a couple of days to help him cope with these specific problems?

+6
source share
3 answers

The best I can offer is to click on the small downward triangle on the right side of the problem title bar. Select "Customize content" from the drop-down menu. I don't think you can filter out errors for a specific project, but you can filter out types of errors.

+1
source

Supernecro, but if it’s still relevant, and you want to block errors because you are editing another project, right-click the project and click "close project".

+9
source

For Java, the only thing I can find is Project Preferences -> Java Compiler -> Errors / Warnings Page. If you set all options to Ignore, the project should be quiet. However, this is rather cumbersome. Other compilers may also have similar settings.

+2
source

Source: https://habr.com/ru/post/919011/


All Articles