Can you check the preferences for this? (Preferences -> General -> Startup and Shutdown -> Workspaces)
I'm having the same problem with STS opening without prompting to me to select the workspace. The workspace it keeps opening seems to be the default one that is created in My Documents\workspace-sts-2.7.0.M2. It started happening once I upgraded to 2.7.0.M2 from 2.6.1. I checked my preferences and I have the Prompt for workspace on startup checked. Any ideas as to why it would not prompt even though it's checked in the preferences?
This "it opens the default workspace all the time" after switching to 2.7.0.M2 is really strange, since we haven't changed stuff in that area and haven't switched Eclipse versions or so. That is why I am somewhat confused about this. Did you upgrade your existing installation to M2 or did you install a fresh M2 into a different location?
I opened this JIRA issue to track this:
It would be great if you could add your comments there, maybe also telling me on what OS you are etc.
Actually, I'm having this issue with my 2.7.0.M2 installation as well. Those options don't work, and STS is always opening the same workspace, no matter what I try. I think it is the workspace that I decided to open the first time I used the 2.7.0.M2 installation. At first I didn't notice this, because it happened to be the workspace I wanted to work with anyway.
But now, each time it keeps opening the same workspace and if I want to work with another want I have to go to "File >> Switch Workspace".
Kris De Volder -- SpringSource
Could you also tell me how you installed STS initially? Did you install STS on top of Eclipse? If so what version of Eclipse are you using?
Committer, SpringSource Tool Suite
I had a STS 2.5 installation which got sequentially upgraded over a few releases over time. Recently, I upgraded it from 2.7.0.M1 to 2.7.0.M2 and after which STS no longer prompts me for workspace on start-up. It goes to the workspace I used when I performed the upgrade which is an empty workspace.
I downloaded latest STS 2.6.1 SR1 and installed it on my home directory and installed all the relevant extensions (Google, Groovy, Data Nucleus). Then updated it to 2.7.0.M2 -- still the same start-up behaviour -- does not prompt me for workspace to choose.
After such slate of feedback, you have to accept that it is indeed true that STS 2.7.0.M2 has a start-up misbehaviour towards prompting for workspace.
Ubuntu 10.04 LTS 64 bit
STS eclipse 64 bit
לא אירא רע כי אתה עמדי
לא אירע רע כי אני איתך
Kris reports that this "STS always opens the same workspace, even without prompting the dialog at startup" problem went away after starting STS with the "-clean" option once. Can you check whether this works in your cases as well?