Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse: How to limit displayed errors/warnings to currently open files?

I'm just getting started with eclipse and android development. One thing which is driving me crazy in eclipse is the problems panel with error/warning messages. It displays errors and warning from every project that I have added to eclipse. I only want to see feedback from the project (or ideally individual file) that I am currently working on).

For example, I have two android projects added to my eclipse workspace: HelloAndroid (a sample app) and SMSTest (an SMS2Toast example). Even with no files open, I see warning messages from both projects! Why is this!?! I shouldn't see any output unless I actually have a file open...or is this just the way eclipse works? Should I be using a different workspace for each project?

Thanks for any help anyone can give me.

like image 839
tfrederick74656 Avatar asked Jul 06 '11 21:07

tfrederick74656


1 Answers

This will get mostly what you want:

  1. Open the "Problems" view (Shift-Alt-X-Q)
  2. In the right hand corner there is a drop down arrow
  3. Select "Configure contents"
  4. Then pay attention to the "Scope" options

I also highly recommend in that same menu "Group by" -> Java problem type.

like image 74
Adam Gent Avatar answered Nov 16 '22 11:11

Adam Gent