Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to exclude files/folder from Markers view in eclipse?

Is there a way in eclipse to stop markers from showing in the Markers view for files in a certain folder? I.e. I imported a Javascript library that I didn't write myself but it is going to be part of my project and I don't want to have to look at all the "TODO" and "FIXME" markers in those files and would just want to see my markers only... Is there a way to exclude certain folders or files form being scanned by the markers process?

like image 254
Ayyoudy Avatar asked Jul 06 '11 10:07

Ayyoudy


2 Answers

Apparently, I was able to resolve this by adding the folders I wanted to exclude to the exclusion list under Project->Properties->Validation. (Click settings beside each validation, Add Exclude Group button, Add Rule button, select folder option, browse for relative folder)

like image 124
Ayyoudy Avatar answered Sep 24 '22 21:09

Ayyoudy


You can configure the content of the Markers view (the one displaying errors and warning in source code) and the content of the Tasks view (the one displaying "TODO" and "FIXME") by clicking on the "small down arrow" in the top right of the view (near the minimize and maximize buttons) and then clicking on Configure Contents ... entry.

Hope this can help, Manu

like image 37
Manuel Selva Avatar answered Sep 23 '22 21:09

Manuel Selva