Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I hide all errors from an Eclipse project?

I have taken a huge project from one of my friends and I just want to view the files just to understand some coding architectures they have implemented. On my system I don't have those jars and complete code so my Eclipse is showing almost 10,000 errors. Now I am still able to go through the code but the red errors are not allowing me to concentrate well. How can I hide all the errors in this particular project?

like image 208
abhihello123 Avatar asked Jan 26 '12 05:01

abhihello123


People also ask

How can I see errors and warnings in Eclipse?

For the Target Management Project, we recommend enabling the following compiler warnings in JDT (Window > Preferences > Java > Compiler > Errors/Warnings and Javadoc). Settings that differ from the JDT default are marked in bold.

What does the Problems view show in Eclipse?

The “Problems” view in Eclipse lists errors and warnings in the workspace. In its default settings this view is not entirely helpful, but it is highly customizable. Today I want to show you how you can configure this view to shift the focus to the interesting errors and warnings in your current area of work.


1 Answers

I don't know if you can hide all the errors but you can

  • limit the number of reported problems in Preferences -> Java -> Compiler -> Building, or
  • exlude all the files from your build path folder (Java Build Path -> Souce -> Select source folder and Edit... -> Enter folder name and press Next -> Add '**' as Exclusion pattern)
like image 172
FrVaBe Avatar answered Sep 25 '22 08:09

FrVaBe