Reputation: 82559
I love to use the Navigator view in Eclipse. I know most people are like "ahhh Project Explorer or riot!!" but really I like Navigator and I'm able to get work done with it.
I recently imported a git project. And it shows the .gitkeep files in the Navigator window.
I want them gone.
I've googled, I've searched menus, I just can't find a way to do it. I turned off all .*
files in the mean time, but I'd really like to define my own filter.
A couple nuggets of wisdom I found:
I'm pretty desperate. It shouldn't bother me, but it does. How can I make this stupid file disappear?
Upvotes: 0
Views: 75
Reputation: 66977
That should be pretty easy.
Follow these instructions and add an Exclude all
filter for Files
whose Name
matches
.gitkeep
.
- To create a resource filter:
- In one of the navigation views, right-click the project or folder where you want to create the resource filter.
- From the pop-up menu, select Properties. The properties dialog will open.
- Expand the Resource section.
- Click the Resource Filters section.
- Click Add....
- Specify the filter type, to what entries it applies to, and enter the condition.
- Click OK.
- Click OK.
Upvotes: 1