How to exclude .svn directories from search in Eclipse? [duplicate]

  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.


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