Eclipse 中的包资源管理器发生了什么?
我最近一直在使用 Subversive 插件在 Eclipse 中设置 SVN(我仍然有点迷失,但那是另一个问题)。
我一直在使用本指南(http: //soledadpenades.com/2008/12/10/add-svn-support-to-your-eclipse-installation/)终于让它工作了! 现在唯一的问题是,我似乎找不到包资源管理器,这是我似乎唯一可以按照我想要的方式工作的资源管理器(将项目分组到工作集中)。
通常,您可以通过转到窗口→显示视图→其他来获取它,然后从列表中选择它。唯一的问题是,它不在视图列表中......让我很困惑。
需要明确的是,我之前使用过包浏览器,没有任何问题。当我进行自动更新时,我正在运行所有内容的最新版本。
关于这里出了什么问题有什么建议吗?
I have recently been setting up SVN in Eclipse using the Subversive plugin (I am still a bit lost, but that's another issue).
I have been using this guide (http://soledadpenades.com/2008/12/10/add-svn-support-to-your-eclipse-installation/) and finally got it working!
The only problem now is, I can't seem to find the Package Explorer, which is the only explorer I could ever seem to get working how I wanted it to (grouping projects into working sets).
Normally, you get it from going to Window → Show View → Other, and then select it from the list. The only thing is, it's not IN the list of views... leaving me rather confused.
Just to be clear, I was using the package explorer before with no problems. I am running the latest version of everything as I did the auto update.
Any suggestions as to what is wrong here?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(11)
我猜你已经把它变成了 快速查看或最小化它。您可以尝试按住 Ctrl + F7 查看所有视图的列表,然后按向上/向下箭头指向视图。如果包资源管理器在列表中,它已被最小化或其他什么。
如果您选择它但仍然看不到它,请尝试窗口 → 重置透视...将所有视图恢复为其默认值。
I'm guessing you've made it a fast view or minimised it to it. You could try holding down Ctrl + F7 to see a list of all views, then up/down arrow to the View. If Package Explorer is in the list it has been minimised or something.
If you select it and still can't see it, try Window → Reset Perspective... to restore all views to their defaults.
当我处于调试模式时, Alt+Shift+Q 对我有用。
Alt+Shift+Q worked for me when I was in debug mode.
奇怪的是,虽然重置视角不起作用,但菜单窗口→新窗口起作用了!它打开了一个新窗口,并重置了视角。
Weirdly enough, although reset perspective didn't work, menu Window → New window worked! It opened a new window with the perspectives reset.
对我来说,我需要做两件事:
老实说,删除 .metadata 目录可能就足够了 - 首先尝试一下。
For me I needed to do two things:
Honestly, deleting the .metadata directory is probably sufficient - try that first.
右上角有一个名为打开透视图的按钮。单击它,然后单击Java Default。一切都会恢复正常。
At the top right corner, there is a button called Open Perspective. Click on it, and then Java Default. Everything will come back to normal.
你确定你是在Java视角吗?
由于视图与观点相关,这可能是问题所在。当前视角可以在右上角找到。
Are you sure you are in the Java perspective?
As views are related to perspectives this could be the problem. The current perspective can be found in the upper right corner.
您可能缺少包含 Package Explorer 的 JDT 插件。
You may be missing the JDT plugin containing the Package Explorer.
我认为您实际上仍然处于调试角度,因为这就是为我做的。正如上面有人提到的,我必须转到右上角并点击“Java 透视图”才能恢复到我的正常视图。
I think you were actually still in the Debug perspective, since that was what did it for me. As someone mentioned above, I had to go to the top right and hit "Java perspective" to get back to my normal views.
三个回答者很有帮助,但唯一的解决方法是重新安装 Eclipse 并再次安装插件。奇怪的问题,具体原因没有找到。我可能以某种方式删除了一些文件,但重新安装解决了它。
Three answerers were helpful, however the only cure was to reinstall Eclipse and install the plugins again. Weird problem, and the exact cause not found. I may have deleted some files somehow, but a reinstall solved it.
在右上角,您可以选择 Java 或 JRE 或其他。该按钮可能已更改。所以点击邻近的按钮,比如Java之类的。
On the right top you can select Java or JRE or whatever. That button might got changed. So click the neighbor buttons such as Java or something.
转到窗口 ->视角->开放视角->爪哇。现在,Java 中的所有包都将显示在包资源管理器中。
Go to Window -> perspective -> Open Perspective -> Java. Now all the packages in Java will be displayed in the package explorer.