How to exclude .svn directories from search in Eclipse?
EclipseEclipse PluginEclipse Problem Overview
> Possible Duplicate:
> How can I make Eclipse file search not include svn directories?
I would like to perform a search but exclude all .svn directories from the search. How could I do that?
By the way, I have the Subversive plugin installed in Eclipse, if it's needed.
Eclipse Solutions
Solution 1 - Eclipse
- Open project's Properties.
- Resource/Resource Filters
- Click Add... button.
- Configure filter:
- Filter type: Exclude all
- Applies to: Folders
- x All children (recursive)
- Leave selected positions in combobox (Name, matches) and type
.svn
- Click OK
It works OK for me.
Solution 2 - Eclipse
I think that the easiest way is creating a Working Set:
- Open Search dialog (
Ctrl+h
) - Change search scope to
Working Set
- Click
Choose
... - Click
New
to create a new Working Set with the what you want searched (alternatively you canAdd All
and then remove the ones you want filtered (the .svn dirs).
Hope it helps