如何从eclipse项目浏览器中隐藏src文件夹? [英] How to hide src folder from eclipse project explorer?

查看:746
本文介绍了如何从eclipse项目浏览器中隐藏src文件夹?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



图像下面是一个典型的项目资源管理器视图,视图中的不是最小的工作示例我想定制。





如您所见,所有相关的文件夹都标记为源文件夹,因此无需显示src文件夹层次结构,如下所示图书馆。



所以问题是,如何摆脱冗余的src文件夹显示,即如何只显示源文件夹和库?



我在浏览过滤器和内容配置,但找不到办法。

解决方案

点击第三个右上角按钮,然后点击过滤器,然后选中名称过滤器模式并写入src。然后第二个src文件夹被隐藏。


I use a maven standard directory layout for my projects.

The image Below is a typical project explorer view of a "not so minimum working example" of the view I want to customize.

As you can see, all the relevant folders are marked as source folders, so there is no need to show the src folder hierarchy as it is shown below the included libraries.

So the question is, how can I get rid of the redundant src folder showing, i.e. how to show only source folders and libraries?

I've playing around with filters and content configuration of the view but couldn't find the way to do it.

解决方案

Click to the third right top button, then "Filters" and then check "Name filter patterns" and write "src". Then the second src folder is hidden.

这篇关于如何从eclipse项目浏览器中隐藏src文件夹?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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