I've been using Eclipse with each project in a separate window by right clicking on a project and selecting Open in New Window. This worked fine, but suddenly... even when I close Eclipse and reopen it, the Navigator only shows one of the projects I was working on. How can I navigate back???
通过右键单击项目并选择在新窗口中打开,我一直在单独的窗口中使用Eclipse和每个项目。这工作正常,但突然......即使我关闭Eclipse并重新打开它,导航器也只显示我正在处理的项目之一。我该如何导航?
Thanks!
7 个解决方案
#1
4
You can also, in the package explorer, click on the arrow on the top right corner of that explorer, and select 'Top Level Elements/Working sets' (instead of 'Top Level Elements/Projects'.
您还可以在包资源管理器中单击该资源管理器右上角的箭头,然后选择“*元素/工作集”(而不是“*元素/项目”)。
That way, you get back a working set (set of projects) view, allowing you to reopen any project of your choice in a new window.
这样,您可以返回一个工作集(项目集)视图,允许您在新窗口中重新打开您选择的任何项目。
When it comes to PDT (PHP development environment), you should have useful options ion that same arrow at the top right cornet of the PHP explorer:
说到PDT(PHP开发环境),您应该在PHP资源管理器右上角的相同箭头中使用有用的选项:
http://2tbsp.com/system/files/eclipse_helloworld.png
(and selecting the right files can be confusing too!)
(并选择正确的文件也会令人困惑!)
#2
4
Okay, I got it: I used Window -> New Window and in the new window everything is back to normal.
好的,我明白了:我使用Window - > New Window,在新窗口中,一切都恢复正常。
#3
2
pretty late for an answer but for people who bump into this problem in future :
对于那些将来遇到这个问题的人来说,答案已经很晚了:
This is probably a bug with eclipse. At least to me it seems so.
这可能是eclipse的一个错误。至少在我看来似乎如此。
The hack: Close eclipse. Delete the metadata file from the workspace folder. Restart the eclipse in same workspace. Load all the existing projects one by one from the "Create project from existing source option"
黑客:关闭日食。从工作区文件夹中删除元数据文件。在同一工作区中重新启动eclipse。从“从现有源创建项目”选项中逐个加载所有现有项目
Note: This is a non-elegant, but simple and fast hack for the lazy ones like me. I tried a few of them from above. None of them worked. This one works just fine. Yeah one thing - you will have to reset the Installed JREs to point to the JDK on your machine.
注意:对于像我这样的懒人来说,这是一个非优雅但简单快速的黑客攻击。我从上面尝试了一些。他们都没有工作。这个工作得很好。是的一件事 - 您必须重置已安装的JRE以指向您机器上的JDK。
#4
0
there's also a notion of workspaces in eclipse which can sometimes be confusing
在日食中也有一个工作空间的概念,有时候会让人感到困惑
#5
0
Try to deactivate the option "Focus on Active Task". (If you have installed the Mylyn plugin)
尝试停用“专注于活动任务”选项。 (如果您已安装Mylyn插件)
#6
0
'Top Level Elements/Working sets' - is not working 'Window -> New Window and in the new window everything is back to normal.' - it was ok for me at old version of Eclipse 2 weeks ago I have installed new one, and here it don't works
“*元素/工作集” - 无效“窗口 - >新窗口,在新窗口中,一切都恢复正常。” - 对于我来说,旧版本的Eclipse 2周前我已经安装了新版本,这里它不起作用
#7
-1
The most easy way you can follow is switch to another workspace from eclipse (go to file menu
您可以遵循的最简单方法是从eclipse切换到另一个工作区(转到文件菜单)
// then switch workspace)and then import the projects(file menu // import // Existing Projects into Workspace) .
//然后切换工作区)然后导入项目(文件菜单//导入//现有项目到工作区)。
#1
4
You can also, in the package explorer, click on the arrow on the top right corner of that explorer, and select 'Top Level Elements/Working sets' (instead of 'Top Level Elements/Projects'.
您还可以在包资源管理器中单击该资源管理器右上角的箭头,然后选择“*元素/工作集”(而不是“*元素/项目”)。
That way, you get back a working set (set of projects) view, allowing you to reopen any project of your choice in a new window.
这样,您可以返回一个工作集(项目集)视图,允许您在新窗口中重新打开您选择的任何项目。
When it comes to PDT (PHP development environment), you should have useful options ion that same arrow at the top right cornet of the PHP explorer:
说到PDT(PHP开发环境),您应该在PHP资源管理器右上角的相同箭头中使用有用的选项:
http://2tbsp.com/system/files/eclipse_helloworld.png
(and selecting the right files can be confusing too!)
(并选择正确的文件也会令人困惑!)
#2
4
Okay, I got it: I used Window -> New Window and in the new window everything is back to normal.
好的,我明白了:我使用Window - > New Window,在新窗口中,一切都恢复正常。
#3
2
pretty late for an answer but for people who bump into this problem in future :
对于那些将来遇到这个问题的人来说,答案已经很晚了:
This is probably a bug with eclipse. At least to me it seems so.
这可能是eclipse的一个错误。至少在我看来似乎如此。
The hack: Close eclipse. Delete the metadata file from the workspace folder. Restart the eclipse in same workspace. Load all the existing projects one by one from the "Create project from existing source option"
黑客:关闭日食。从工作区文件夹中删除元数据文件。在同一工作区中重新启动eclipse。从“从现有源创建项目”选项中逐个加载所有现有项目
Note: This is a non-elegant, but simple and fast hack for the lazy ones like me. I tried a few of them from above. None of them worked. This one works just fine. Yeah one thing - you will have to reset the Installed JREs to point to the JDK on your machine.
注意:对于像我这样的懒人来说,这是一个非优雅但简单快速的黑客攻击。我从上面尝试了一些。他们都没有工作。这个工作得很好。是的一件事 - 您必须重置已安装的JRE以指向您机器上的JDK。
#4
0
there's also a notion of workspaces in eclipse which can sometimes be confusing
在日食中也有一个工作空间的概念,有时候会让人感到困惑
#5
0
Try to deactivate the option "Focus on Active Task". (If you have installed the Mylyn plugin)
尝试停用“专注于活动任务”选项。 (如果您已安装Mylyn插件)
#6
0
'Top Level Elements/Working sets' - is not working 'Window -> New Window and in the new window everything is back to normal.' - it was ok for me at old version of Eclipse 2 weeks ago I have installed new one, and here it don't works
“*元素/工作集” - 无效“窗口 - >新窗口,在新窗口中,一切都恢复正常。” - 对于我来说,旧版本的Eclipse 2周前我已经安装了新版本,这里它不起作用
#7
-1
The most easy way you can follow is switch to another workspace from eclipse (go to file menu
您可以遵循的最简单方法是从eclipse切换到另一个工作区(转到文件菜单)
// then switch workspace)and then import the projects(file menu // import // Existing Projects into Workspace) .
//然后切换工作区)然后导入项目(文件菜单//导入//现有项目到工作区)。