为什么我的 Eclipse 在启动时不要求工作区?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/19313280/
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

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-19 21:15:01  来源:igfitidea点击:

Why does NOT my Eclipse ask for workspace on startup?

eclipseworkspace

提问by victorio

In my Eclipse:

在我的 Eclipse 中:

Windows -> Preferences -> General -> Startup and Shutdown -> Workspaces:

Windows -> Preferences -> General -> Startup and Shutdown -> Workspaces:

And the "Prompt for workspace on startup" is checked, but anytime I start Eclipse, it does NOT ask for workspace to open.

并且选中了“启动时提示工作区”,但是无论何时我启动 Eclipse,它都不会要求打开工作区。

Why is that? Please help me! Thank you!

这是为什么?请帮我!谢谢!

回答by alterfox

Try starting Eclipse with eclipse.exe -clean. You can also manually edit Eclipse files, but better use the supported run argument. As I already commented - this is suggested here, but you seem to have skipped it and went straight for the second answer :-)

尝试使用eclipse.exe -clean. 您还可以手动编辑 Eclipse 文件,但最好使用支持的运行参数。正如我已经评论过的 - 这是这里建议的,但您似乎已经跳过它并直接进入第二个答案:-)

回答by El mehdi AZROUR

1/ Check the value of -startup in eclipse.ini. IF - startup you find

1/检查eclipse.ini中-startup的值。IF - 你发现的启动

-startup plugins/org.eclipse.equinox.launcherXXXXXX.jar

-启动插件/org.eclipse.equinox.launcherXXXXXX.jar

it's OK

没关系

if you find other values comment them

如果您发现其他值,请评论它们

2/ you go to ( in eclipse ): preferences > General > Startup and Shutdown > workspaces and then you check ( prompt for workspace on startup )

2/你去(在eclipse中):首选项>常规>启动和关机>工作区然后你检查(启动时提示工作区)

3/ you run you eclipse with eclipse.exe -clean

3/ 你用 eclipse.exe -clean 运行你的 eclipse