eclipse 显示对话框以在启动时选择工作区
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/8616163/
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
Show dialog to choose workspace while it starts
提问by Shruti
I know its a silly question but i am stuck into it from 2 hours..Can any body tell me how should i enable the dialog which opens at the time we start eclipse and we choose workspace location from there.
我知道这是一个愚蠢的问题,但我从 2 小时开始就被困在这个问题上..任何人都可以告诉我我应该如何启用在我们开始 eclipse 时打开的对话框,然后我们从那里选择工作区位置。
See I want this window to be displayed first when eclipse starts
请参阅我希望在 Eclipse 启动时首先显示此窗口
By mistake I have checked "Use this as the default and do not ask again".
我错误地选中了“将此用作默认值,不再询问”。
Please guide me how to show up this dialog again
请指导我如何再次显示此对话框
回答by juergen d
You can find it here :
你可以在这里找到它 :
Menu: Window -> Preferences -> General -> Startup and Shutdown -> Workspaces -> Prompt for workspace on startup
Eclipse preferences has a lot of options. You can search for specific options by typing in the filter text box at the top of the preferences dialog.
Eclipse 首选项有很多选项。您可以通过在首选项对话框顶部的过滤器文本框中键入来搜索特定选项。
If you type in 'startup' for instance the list will be much shorter.
例如,如果您输入“启动”,则列表会短得多。
回答by A4L
window > preferences > general > startup and shutdown > workspaces
窗口 > 首选项 > 常规 > 启动和关闭 > 工作区
then check 'Prompt for workspace on startup'
然后选中“启动时提示工作区”
回答by kitekat
If your workspace is corrupted and Eclipse doesn't startup with your currently pre-selected workspace, you may edit SHOW_WORKSPACE_SELECTION_DIALOG=falseto SHOW_WORKSPACE_SELECTION_DIALOG=truewhich is located in file
如果您的工作区已损坏,Eclipse不与你当前预先选定的工作区启动,您可以编辑SHOW_WORKSPACE_SELECTION_DIALOG=false到SHOW_WORKSPACE_SELECTION_DIALOG=true位于文件
C:\PathToEclipse\eclipse\configuration\.settings\org.eclipse.ui.ide.prefs
before you start the IDE.
在启动 IDE 之前。


