56

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.

Community
  • 1
  • 1
Richard Knop
  • 73,317
  • 142
  • 374
  • 539

2 Answers2

118
  1. Open project's Properties.
  2. Resource/Resource Filters
  3. Click Add... button.
  4. 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.

prostynick
  • 5,914
  • 4
  • 32
  • 59
3

I think that the easiest way is creating a Working Set:

  1. Open Search dialog (Ctrl+h)
  2. Change search scope to Working Set
  3. Click Choose ...
  4. Click New to create a new Working Set with the what you want searched (alternatively you can Add All and then remove the ones you want filtered (the .svn dirs).

Hope it helps

Daniel Peñalba
  • 27,557
  • 31
  • 124
  • 209