Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can I set Eclipse to only emit errors, warnings, etc. for the current project?

I want to be able to ignore warnings in other projects in my workspace when I'm concentrating on my current project. I looked through Window | Preferences and saw no such option. Eclipse obviously knows which project is current, because when I mash F11 it runs (or tries to).

like image 991
B. Clay Shannon-B. Crow Raven Avatar asked Nov 11 '11 01:11

B. Clay Shannon-B. Crow Raven


People also ask

How do I show all warnings in Eclipse?

Click on the small triangle in the upper right corner of the problems view and select "Configure Contents". In that dialog check "Show all items" and uncheck "Use item limits" to show all warnings.

How can I see errors and warnings in Eclipse?

You need to open the eclipse Markers view ( Window->Show View->Markers ), it will show all errors about your project, if you correct all the errors, your problem will most likely be solved.

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.


2 Answers

In the Problems view, click the little triangle thinggie on the right, and select Show -> Errors/Warnings on selection. Then it will show the errors from the currently selected project/file, etc.

Triangle Thing

like image 52
Nikolay Elenkov Avatar answered Oct 12 '22 05:10

Nikolay Elenkov


You can either Close Project all other projects, you can set a filter on the Problems View to only show errors for the current project, or use Mylin to limit the scope of what you are currently seeing.

like image 33
Tassos Bassoukos Avatar answered Oct 12 '22 05:10

Tassos Bassoukos