我该怎么做才能在 Eclipse 上显示 bin 文件夹?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/4163923/
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-10 19:44:24  来源:igfitidea点击:

what can I do to make display the bin folder on eclipse?

eclipse

提问by Anzo31

can anyone help me solve the issue that I have ? in fact when I create a project on eclipse, the bin folder doesn't display and I am able to create a javadoc for my project. I need help please.

谁能帮我解决我遇到的问题?事实上,当我在 eclipse 上创建一个项目时,bin 文件夹不会显示,我可以为我的项目创建一个 javadoc。我需要帮助。

回答by nanda

I don't know what the reason for your question but you can see the bin directory in Project Explorer(not Package Explorer). Here you click the triangle and select Customize View...and remove the click on Java output folders

我不知道您提出问题的原因是什么,但您可以在Project Explorer(而不是Package Explorer)中看到 bin 目录。在这里单击三角形并选择自定义视图...并删除对Java 输出文件夹的单击

alt text

替代文字

回答by Eduardo Cuomo

To change this behaviour and hide the “.class” files you need to do the following.

要更改此行为并隐藏“.class”文件,您需要执行以下操作。

  1. Find your class output folder in the “Project explorer” window. This is usually called “bin” or “target” for Maven projects

  2. Right-click this folder and click “Properties”

  3. Tick the “Derived” checkbox and click “OK”

  1. 在“项目资源管理器”窗口中找到您的类输出文件夹。对于 Maven 项目,这通常称为“bin”或“target”

  2. 右键单击此文件夹,然后单击“属性”

  3. 勾选“派生”复选框,然后单击“确定”

“.class” files will now be hidden in future.

“.class”文件现在将在未来隐藏。

Source: http://ayubmalik.co.uk/2011/12/hide-class-files-when-opening-a-type-or-resource-in-eclipse-ide/

来源:http: //ayubmalik.co.uk/2011/12/hide-class-files-when-opening-a-type-or-resource-in-eclipse-ide/

回答by ezzadeen

If your Eclipse version doesn't allow you to show "Java Output Folders" as mentioned by nanda, then try the Navigator View (From the main menu: Window > Show View > Navigator). The Navigator View shows the bin folder.

如果您的 Eclipse 版本不允许您显示 nanda 提到的“Java 输出文件夹”,请尝试使用导航器视图(从主菜单:窗口 > 显示视图 > 导航器)。导航器视图显示 bin 文件夹。

回答by Tarski

Your question is a bit vague but try right clicking on the project and choosing build path, and see if the output directory for your java classes is set to bin. It may not appear in your unless you add some Java source code

您的问题有点含糊,但请尝试右键单击项目并选择构建路径,然后查看您的 java 类的输出目录是否设置为 bin。除非您添加一些 Java 源代码,否则它可能不会出现在您的