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\'
I don't know if you can hide all the errors but you can
Preferences -> Java -> Compiler -> Building
, orJava Build Path -> Souce -> Select source folder and Edit... -> Enter folder name and press Next -> Add '**' as Exclusion pattern
)In eclipse, go on any class. Right click on the red marks shown on the vertical ruler and disable the 3 options. See below.
This is not the right way , just a workaround if you just want to browse the source code and not worried about compile and building it.
You just need to remove the source folder in the java build path , this will help you to get rid of those red errors that clutter your source.
Right click on Project->Properties->Java Build Path->in Source tab select your source folder and click remove.
Restart your eclipse.
Just disable JavaBuilder
in Properties -> Builders
. Sometimes after disabling JavaBuilder
error status is not updated (they are still visible). In that case do the following:
Properties -> Java Build Path -> Source
remove source folder(s)Build -> Clear...
JavaBuilder
as described aboveThat way you should not be irritated with error messages any longer, but retaining all the possibilities to navigate by ctrl+click, search references etc.