Accepted answer

just delete the whole directory. this will delete all the projects but also the eclipse cache and settings for the workspace. these are kept in the .metadata folder of an eclipse workspace. note that you can configure eclipse to use project folders that are outside the workspace folder as well, so you may want to verify the location of each of the projects.

you can remove the workspace from the suggested workspaces by going into the general/startup and shutdown/workspaces section of the preferences (via preferences > general > startup & shudown > workspaces > [remove] ). note that this does not remove the files itself. for old versions of eclipse you will need to edit the org.eclipse.ui.ide.prefs file in the configuration/.settings directory under your installation directory (or in ~/.eclipse on unix, iirc).


just go to the \eclipse-java-helios-sr2-win32\eclipse\configuration.settings directory and change or remove org.eclipse.ui.ide.prefs file.


click on the menu window > preferences and go to workspaces like below :

| general
    | startup and shutdown
        | workspaces

select the workspace to delete and click on the remove button.


i'm not sure about older versions, but from neon onward, you can just right click on workspace and select remove from launcher selection option.

eclipse neon - remove workspace

of course this won't remove the original files. it simply removes it from the list of suggested workspaces.


for eclipse pdt in mac os, once you have deleted the actual workspace directory the option to select and switch to that workspace will still be available unless you delete the entry from preferences >> general >> startup and shutdown >> workspaces.


it's possible to remove the workspace in eclipse without much complications. the options are available under preferences->general->startup and shutdown->workspaces.

note that this does not actually delete the files from the system, it simply removes it from the list of suggested workspaces. it changes the org.eclipse.ui.ide.prefs file in jon's answer from within eclipse.

Related Query

More Query from same tag