Eclipse :: Hide .svn files in Open Resource dialog

前端 未结 5 1080
梦毁少年i
梦毁少年i 2021-02-02 07:20

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条回答
  • 2021-02-02 07:57

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

    0 讨论(0)
  • 2021-02-02 07:58

    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

    0 讨论(0)
  • 2021-02-02 08:00

    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 ;)

    0 讨论(0)
  • 2021-02-02 08:04

    Try the following:

    Project > Properties > Resource > Resource Filters > Add

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

    Name Matches: .svn

    OK and Apply

    0 讨论(0)
  • 2021-02-02 08:06

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

    0 讨论(0)
提交回复
热议问题