How to force Eclipse to ask for default workspace?

后端 未结 19 1911
夕颜
夕颜 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 11:01

    I can confirm that I am having the same issue. I am also using eclipse classic with CDT. The funny thing is that it only started happening earlier this evening. Before then, I was always prompted for the workspace. Checking "Prompt for workspace on startup" has no effect. I am not launching eclipse using a startup script, so the -data flag is not set on launch. I have removed the line "osgi.instance.area.default" from the configuration/config.ini, but that had no effect.

    A few strange quirks that are incidental to this problem: If I delete the "workspace" workspace it creates it again upon launch. However, when I switch to one of my "real" workspaces I notice that the "workspace" workspace is not listed as an option to be switched to.

    As would be expected, reinstalling eclipse resolves the issue. But it would be nicer to find a way to fix the problem without resorting to that.

提交回复
热议问题