Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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?
share|improve this question

1 Answer 1

up vote 15 down vote accepted

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

share|improve this answer
2  
+1 for freehand ellipses. Oh, and because it's a really useful answer. –  Tom Anderson Oct 24 '11 at 15:18

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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