Don't show .svn folders in Eclipse

感情迁移 提交于 2020-01-14 10:12:34

问题


In Eclipse, the PHP Explorer view (that shows the folders of the project) is polluted by the .svn folders. That's kind of annoying, is there a way to hide them, because I looked everywhere in the documentation and didn't find it.

Thanks


回答1:


almost every view like explorer and outline views in eclipse has an option to filter visible elements by regex. you can find the menu by clicking on the small downward-pointing trangle in the top right corner of the view, then select the Filters item, then click the name filter patterns box, type sth like *svn and voila.




回答2:


Open up eclipse and right click on your project in the workspace. Choose Properties and then select resource. Add a resource filter of type ‘exclude’ Enter the .svn folder name and click OK.




回答3:


Though I don't use Subclipse for actual SVN access, I find that installing it is useful in that it does remove all the .svn folders from your project's view AND it give's you visual cues as to a given file's status with respect to SVN in general. Kind of a high price to pay though ...




回答4:


The best solution is to install a Subversion plugin into Eclipse (like Subclipse or Subversive)...



来源:https://stackoverflow.com/questions/4829075/dont-show-svn-folders-in-eclipse

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