简体   繁体   English

在 Eclipse 中找不到“Package Explorer”视图

[英]Cannot find "Package Explorer" view in Eclipse

I opened a project in Eclipse, but found that I cannot switch to the package explorer by clicking Window->Show View .我在Eclipse打开了一个项目,发现点击Window->Show View无法切换到package explorer。 In the menu shown under Show View , I just could not find the item "Package Explorer".Show View下显示的菜单中,我找不到“Package Explorer”项。 What could be the problem?可能是什么问题呢?

Not all view are listed directly in every perspective... choose:并非所有视图都直接在每个视角中列出...选择:

Window->Show View->Other...->Java->Package Explorer

The simplest, and best long-term solution最简单、最好的长期解决方案

Go to the main menu on top of Eclipse and locate Window next to Run and expand it. Go 到 Eclipse 顶部的主菜单,找到运行旁边的 Window 并展开它。

 Window->Reset Perspective... to restore all views to their defaults

It will reset the default setting.它将重置默认设置。

Try Window > Open Perspective > Java Browsing or some other Java perspectives尝试 Window > 打开视角 > Java 浏览或其他一些 Java 视角

For Eclipse version 4.3.0.v20130605-2000.对于 Eclipse 版本 4.3.0.v20130605-2000。 You can use the Java (default) perspective.您可以使用 Java(默认)视角。 In this perspective, it provides the Package Explorer view.在此透视图中,它提供了 Package Explorer 视图。

To use the Java (default) perspective: Window -> Open Perspective -> Other... -> Java (default) -> Ok要使用 Java(默认)透视图:Window -> 打开透视图 -> 其他... -> Java(默认)-> 确定

If you already use the Java (default) perspective but accidentally close the Package Explorer view, you can open it by;如果您已经使用 Java(默认)透视图但不小心关闭了 Package Explorer 视图,您可以通过以下方式打开它; Window -> Show View -> Package Explorer (Alt+Shift+Q,P) Window -> 显示视图 -> Package 资源管理器 (Alt+Shift+Q,P)

If the Package Explorer still doesn't appear in the Java (default) perspective, I suggest you to right-click on the Java (default) perspective button that is located in the top-right of the Eclipse IDE and then select Reset.如果 Package 资源管理器仍然没有出现在 Java(默认)透视图中,我建议您右键单击位于 Eclipse IDE 右上角的 Java(默认)透视按钮,然后单击 8812748281 Reset.00 The Java (default) perspective will show the Package Explorer view, Code pane, Outline view, Problems, JavaDoc and Declaration View. Java(默认)透视图将显示 Package 资源管理器视图、代码窗格、大纲视图、问题、JavaDoc 和声明视图。

Try this试试这个

Window > Show View > Package Explorer

it will display the hidden 'Package Explorer' on your eclipse IDE.它会在您的 eclipse IDE 上显示隐藏的“Package Explorer”。

• 'Window' is in your Eclipse' menubar. • “窗口”在您的Eclipse 菜单栏中。

You might be in debug mode.您可能处于调试模式。 If this is the problem, you can simply click on the "Java" button (next to the "Debug" button) in the upper-right hand corner, or click on "Open Perspective" and then select "Java (default)" from the "Open Perspective" window.如果这是问题所在,您只需单击右上角的“Java”按钮(在“调试”按钮旁边),或单击“打开透视图”,然后单击 select“Java(默认)” “开放视角”window。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM