How can I make Eclipse file search not include svn directories?

后端 未结 9 1451

When I do a file search on eclipse it includes the .svn directories by default. I tried excluding them from the build path but they still appear on file search

相关标签:
9条回答
  • 2020-12-24 05:18

    Eclipse import would also contain file of type .java.svn-base, so its better to give as in below image

    [[1]: https://i.stack.imgur.com/szDxP.png][1]

    0 讨论(0)
  • 2020-12-24 05:22

    Click on the drop-down triangle in the top-right corner of the Navigator and choose "Filters..".

    By default Eclipse only offers you ".class" and ".".

    If you choose ".*" you'll hide .svn files. Obviously all other .something files will also be hidden.

    0 讨论(0)
  • 2020-12-24 05:23

    Following up on Mark Ingram's excellent answer, simply installing the plugin won't get you there -- You'll still need to Share your project in order for the automatic Search filtering to take hold. After you set up the SVN repository location from within the Subeclipse view you may Share your project by doing the following:

    1. From within Package Explorer, right-click the project name
    2. Select the Team context menu option and then Share Project....
    3. Step trough the wizard to tie your project to its location in the svn repository
    4. Once you complete that and the workspace rebuilds you are all set to enjoy filtered search.
    0 讨论(0)
  • 2020-12-24 05:24

    You can off course also select ALL the file name patterns to include in the file search dialog

    0 讨论(0)
  • 2020-12-24 05:27

    Excluding the .svn folders by making them derived stops then appearing in the search results, see here.

    You have to do it manually for each folder, if you have a lot of .svn folders then it's not ideal.

    0 讨论(0)
  • 2020-12-24 05:33

    If you are gonig down the plugin route, I tend to prefer subversive over subclipse.

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