如何告诉Eclipse Workspace? [英] How to tell Eclipse Workspace?
问题描述
对于我来说,这是工作的一部分选择File-> Switch Workspace-> Other ...,它显示当前工作区的名称。
我试图确认
<实际上,这显示了最后一个被关闭的工作空间,而不是当前的工作空间,如果你打开和关闭几个工作区,这是不可靠的。 blockquote>
,我无法再现它。每次我得到当前加载的工作区(我正在Juno测试)。我也检查了来源,并在 ChooseWorkspaceDialog.java 和 ChooseWorkspaceData.java ,它看起来像是管理上次打开的工作空间的简单列表,它被存储作为org.eclipse.ui.ide.prefs文件中的RECENT_WORKSPACES键。此对话框中显示的工作区名称是此列表中的第一个。
Is there a way to tell what is the current Eclipse workspace you are currently working on?
解决方案For me it work to choose File->Switch Workspace->Other... and it shows the name of current workspace.
I tried to confirm
"Actually, this shows the last workspace that was closed, not the current workspace. If you are opening and closing several, this is not dependable."
and I am not able to reproduce it. Each time I get the currently loaded workspace (I was testing on Juno). I also checked sources and in ChooseWorkspaceDialog.java and ChooseWorkspaceData.java, and it looks like it manages simple list of last time opened workspaces which is stored as a RECENT_WORKSPACES key in org.eclipse.ui.ide.prefs file. The workspace name shown in this dialog is the first one from this list.
这篇关于如何告诉Eclipse Workspace?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!