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

前端 未结 2 1714
北荒
北荒 2021-02-05 23:10

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 to general. I

相关标签:
2条回答
  • 2021-02-06 00:11

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

    path/to/exclude
    

    not

    path/to/exclude/
    
    0 讨论(0)
  • 2021-02-06 00:12

    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.

    0 讨论(0)
提交回复
热议问题