36

Is it possible to hide .svn files in the Open Resource dialog (Ctrl + Shift + R) of Eclipse?

It's very annoying when you have hundreds of files...

Cheers.

5 Answers5

47

Try the following:

Project > Properties > Resource > Resource Filters > Add

Select: Exclude All, Folders, All Children (recursive)

Name Matches: .svn

OK and Apply

Ari
  • 471
  • 4
  • 2
4

What if the plugin isn't doing the work for you? Like in my situation, I have subclipse installed, but it's not hidding the files! I even uninstalled-reinstalled

Nevermind, this blog post solved the issue: http://blog.pengoworks.com/index.cfm/2009/4/20/Eclipse-showing-svnbase-files-in-Open-Resource-dialog

Doug
  • 41
  • 1
3

The Subversive/Subclipse installer will do everything for you (ignore .svn as resource), plus you get SVN support...

gimpf
  • 4,503
  • 1
  • 27
  • 40
1

As Doug indirectly pointed out, you must close and reopen the project in Eclipse after installing Subversive or Subclipse.

Peter J. Hart
  • 367
  • 2
  • 7
1

If you can not, for some reason, install a SVN plugin as suggested by gimpf, you can filter the list of the Open Resource dialog.

As indicated in this SO question, you have at the top-right corner of the "Open Resource" dialog box a small blue arrow.
Click it and "Select Working Set". Then create a new working set as required to include only what you need.

alt text http://giano.com.dist.unige.it/eclipseMirror/eclipse/downloads/drops/R-3.3-200706251500/whatsnew/images/openresource.png

Not as practical as having a plugin do the work for you though ;)

Community
  • 1
  • 1
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250