eclipse 3.5过滤.git文件夹 [英] eclipse 3.5 filter .git folder

查看:160
本文介绍了eclipse 3.5过滤.git文件夹的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用eclipse 3.5.2,并且似乎无法使用过滤器资源来筛选出我的任何项目中的.git文件夹,以满足我的任何角度:javascript,ruby和php。我试着按照建议将过滤器添加到plugin.xml中在这个博客上,但它是用于Eclipse 3.4并且似乎不起作用。任何建议?对于一个给定的项目(至少Java),你应该能够通过它的属性来编辑它的源代码路径,并添加排除规则,如:

  ** /。git / 

替代文字http://img232.imageshack.us/img232/2641/eclipseexclusionpattern.png


I'm using eclipse 3.5.2 and cannot seem to use "filter resources" to filter out .git folders in any of my projects for any of my perspectives: javascript, ruby, and php. I've tried adding the filter to plugin.xml as suggested on this blog but it is for eclipse 3.4 and doesn't seem to work. Any suggestions?

解决方案

For a given project (at least Java), you should be able through its properties, to edit its Source Path, and add an exclusion rule like:

**/.git/

alt text http://img232.imageshack.us/img232/2641/eclipseexclusionpattern.png

这篇关于eclipse 3.5过滤.git文件夹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆