Eclipse 不会在“项目资源管理器视图”中显示 /target/classes 文件夹

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/23349082/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-19 21:41:05  来源:igfitidea点击:

Eclipse does not display /target/classes folder in "project explorer view"

eclipse

提问by Patty

This is what it looks like in project->properties->java Build Path-> source tab . Don't know what I am missing but /target/classes folder is not showing up in "project explorer" view. Can anyone help?

这就是它在 project->properties->java Build Path-> source tab 中的样子。不知道我缺少什么,但 /target/classes 文件夹没有显示在“项目资源管理器”视图中。任何人都可以帮忙吗?

enter image description here

在此处输入图片说明

回答by greg-449

The Project Explorer view defaults to not showing the output folders.

Project Explorer 视图默认不显示输出文件夹。

To change this click the small down arrow at the top right of the view and choose the Customize Viewoption. Uncheck the 'Java output folders' option in the filters list.

要更改此设置,请单击视图右上角的向下小箭头并选择该Customize View选项。取消选中过滤器列表中的“Java 输出文件夹”选项。

Note that from Eclipse 2019-12 onwards the small down arrow is replaced by a 'hamburger' menu (three vertical dots).

请注意,从 Eclipse 2019-12 开始,向下的小箭头被“汉堡包”菜单(三个垂直点)取代。

回答by reddy

Try thisClick on Filters and customization and uncheck *.class resources

试试这个单击过滤器和自定义并取消选中*.class 资源