Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to filter resource folders in a certain subpath of the project only?

Tags:

eclipse

I found the question and answer Eclipse :: Hide .svn files in Open Resource dialog but don't want to filter all resources with a given name say 'work', which is too general. I only want to exclude the work folder in one specific subfolder 'sub'. I see the "File and Folder Attributes" options "Project Relative Path" and "Location", but none of them works with somethink like:

sub/work

Any ideas how to get the resource filter to work in a certain subpath only?

like image 567
jan Avatar asked Jan 08 '13 18:01

jan


2 Answers

Found a solution with the settings:

  • Applies to: Files and folders
  • All children (recursive) activated
  • File and Folder Attributes:
    Project Relative Path matches "sub/work"

Now all subfiles and subdirectories below this are excluded.

like image 98
jan Avatar answered Oct 20 '22 16:10

jan


Beware trailing slashes when you want to filter out an entire folder, ie. use

path/to/exclude

not

path/to/exclude/
like image 26
JobJob Avatar answered Oct 20 '22 17:10

JobJob