How to force Eclipse to ask for default workspace?

后端 未结 19 1746
夕颜
夕颜 2020-12-02 10:08

I noticed that after installing cdt, Eclipse always loads the default workspace. The workspace listed in the config.ini in osgi.instance.area.default

相关标签:
19条回答
  • 2020-12-02 10:37

    I resolved the problem by adding -showLocation parameter to eclipse.ini

    0 讨论(0)
  • 2020-12-02 10:39

    I had the same problem with indigo on linux 3.0 X86_64: After runnning eclipse -clean everything went back to normal.

    Thanks to some comment on the eclipse issue: https://bugs.eclipse.org/bugs/show_bug.cgi?id=134412

    0 讨论(0)
  • 2020-12-02 10:39

    Inside the configuration/.settings folder of your Eclipse installation, there is a file called org.eclipse.ui.ide.prefs. Open this file in a text editor and change the property SHOW_WORKSPACE_SELECTION_DIALOG from false to true.

    Tested with Eclipse 3.7 on Windows.

    0 讨论(0)
  • 2020-12-02 10:41

    I use Eclipse Indigo, and this is how I do it:

    Window > Preferences > Startup and Shutdown > Workspaces

    check box at the top of the window: "Prompt for workspace on startup"

    0 讨论(0)
  • 2020-12-02 10:41

    I followed the thread and tired all things but didn't work. Finally I saw that my eclipse shortcut target is like below

    C:\Eclipse_3.6\eclipse\eclipse.exe -clean -data "C:\workplace" ...
    

    I simply removed -data option and it worked. Now I got popup to choose workspace at startup.

    cheers.

    0 讨论(0)
  • 2020-12-02 10:43

    Editing the config.ini file with

    osgi.instance.area.default=\D:\\Projects\\Eclipse Workspace\\
    

    worked for me.

    0 讨论(0)
提交回复
热议问题