How to force Eclipse to ask for default workspace?
I noticed that after installing cdt, Eclipse always loads the default workspace. The workspace listed in the config.ini
in osgi.instance.area.default
. Eclipse does not ask which workspace to open regardless if Prompt for workspace on startup
is set or not.
How do I force Eclipse to ask which workspace to load on startup?
It works for me if I tick the box Prompt for workspace on startup, which you can find in Window → Preferences → General → Startup and Shutdown → Workspaces.
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
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.
Using Eclipse Indigo this is how I did it:
Window → Preferences → Startup and Shutdown → Workspaces
Check the box at the top of the window that says "Prompt for workspace on startup"
The “Prompt for workspace at startup” checkbox did not working. You can setting default workspace, Look for the folder named “configuration” in the Eclipse installation directory, and open up the “config.ini” file. You’ll edit the "osgi.instance.area.default" to supply your desired default workspace.