eclipse 3.5 filter .git folder

我是研究僧i 提交于 2019-12-08 07:48:31

问题


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?


回答1:


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



来源:https://stackoverflow.com/questions/2766435/eclipse-3-5-filter-git-folder

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!