您的位置:首页 > 编程语言 > Java开发

How to exclude .svn directories from search in Eclipse?

2015-01-04 20:42 656 查看
Here is what works for me (I'm using Helios - maybe this way was not available when this question was originally asked?)

Go to Project -> Properties -> Resource Filters.

Click Add.

Choose Filter type: Exclude all

Choose Applies to: Folders; check All
children (recursive).

In the Attributes, choose Name, Matches,
.svn
(for
example).

(Actually, I'm using
.*
to
filter out .svn, .hg etc. in one go.)

After okay'ing the project properties dialog, these directories won't come up in search any more. In fact, Eclipse is so kind as to automatically update existing search
results windows and remove all matches which are now filtered out.

转自: stackoverflow
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: