Agile Zone is brought to you in partnership with:

Erich is Professor at Lucerne University of Applied Sciences and Arts and Distinguished Member of Technical Staff at Freescale Semiconductor. Erich has a MsCS degree and 18+ years of experience in the embedded software and tools world. He created many embedded cross C/C++ compilers and debuggers. Additionally he is researching in the domain of programming languages, real time and mechatronic systems. Erich is a DZone MVB and is not an employee of DZone and has posted 106 posts at DZone. You can read more from them at their website. View Full User Profile

Eclipse Problems View: Only Show Problems for Project

06.15.2013
| 4771 views |
  • submit to reddit

Having many projects open the same time, and working on them in parallel is a challenge. Ok, the human brain is not built for multitasking, but I still try ;-) . What I typically I end up in my Eclipse Problems View to have entries from multiple projects mixed up:

Problems View with Entries for multiple Projects

Problems View with Entries for multiple Projects

How to show it that I can fix the problems for ony project only, and not showing all problems from all projects?

Closing Projects

The Eclipse Problems view only shows the problems of (all) open projects. An easy way is to close the other projects using the (context) menu Project > Close Project:

Closing Project with Context Menu

Closing Project with Context Menu

But then I need to re-open that project later again, which will take time. So while this works, but this is not ideal.

Show Error/Warnings on Project

A better way in my view is to use this: There is an option in the Problems view to just show the messages for the currently active/selected project:

Option to Show Errors and Warnings on Project

Option to Show Errors and Warnings on Project

With this, only the messages for the currently active project are shown:

Problems View with Messages for the Active Project

Problems View with Messages for the Active Project

Summary

The Problems View has filtering and configuration capabilities which are easily overlooked. But knowing it and configuring the Problems view for my needs helped me to get more productive.

Happy Problem Solving :-)

Published at DZone with permission of Erich Styger, author and DZone MVB. (source)

(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)