Filtering errors in FDT

It wasn’t until recently that I found out about very useful capability of Eclipse, i.e. filtering what goes into Errors window. This is especially useful when working with multiple 3rd party libraries. You need to add them to a class path in order to get code compilation, but the drawback is the fact that your Errors list gets polluted with all the errors found in those external libraries. Usually, you’re not really interested in it, you’d just like to see the ones relevant to you — in classes that you wrote.

Below is a quick guide how to filter the error list in Eclipse.

Click the little triangle in the top-right corner and choose “Configure Filters…”.

Select “On working set: “.

Now you need to create a working set of files you want to display errors for.

And that’s it!

Comments are closed.