Whenever I use eclipse on a folder with a .git folder, the .git folder is included in project wide searches and it is displayed in the Navigator view. Is there some way to:

  1. Make sure that .git folders are not displayed in the Navigator view?
  2. Make sure that .git folders are ignored in project wide searches?

Following the SO question "How can I make Eclipse file search not include svn directories?":

With Helios, choose Project -> Properties -> Resource -> Resource Filters and then add an "exclude" filter for type "Folder" with name ".git":

alt text

  • 3
    +1 for freehand ellipses. Oh, and because it's a really useful answer. – Tom Anderson Oct 24 '11 at 15:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.