May 30, 2009

Removing a workspace from Eclipse Workspace List

I was wondering where the f... Eclipse stores the workspace list. I have a lot of workspaces in my list and the other day I put some letters before I hit enter and I altered the workspace list with nothing clear. So I wanted to remove that entry and others also and I start to looking up where is this data stored.

In MacOs X you can go to your Eclipse folder and dive into configuration folder, there you can find a .settings folder and finally inside it there is a file named: org.eclipse.ui.ide.prefs
Usually you will find it as:

/Applications/eclipse/configuration/.settings/org.eclipse.ui.ide.prefs

Editing this file you will find a RECENT_WORKSPACES variable with the list. Just remove the entries and that's it!

Now if you put something in your workspace switch dialog before the path, something like this:

aaarggg /Users/yop/workspace

you maybe gonna try to find where is the workspace folder. This new folder is created inside the Eclipse.app package, so if you want to remove it or you want to move that content just open the Eclipse.app and look at Contents/MacOS/