BigUser
BigUser

Reputation: 2017

Create a new workspace in Eclipse

I don't see any menu item I can use to create a new workspace.

What should I use to create a new workspace and move some of the projects from existing default workspace to a new workspace?

I am using Windows with Eclipse 3.7.

Upvotes: 186

Views: 297154

Answers (3)

revdrjrr
revdrjrr

Reputation: 1045

  • In Window > Preferences > General > Startup and Shutdown->Workspaces, make sure that "Prompt for Workspace on startup" is checked.
  • Then close Eclipse and reopen.
  • Then you'll be prompted for a workspace to open. You can create a new workspace from that dialogue.

Or File > Switch Workspace > Other...

Upvotes: 35

rajah9
rajah9

Reputation: 12329

I use File -> Switch Workspace -> Other... and type in my new workspace name.

New workspace composite screenshot (EDIT: Added the composite screen shot.)

Once in the new workspace, File -> Import... and under General choose "Existing Projects into Workspace. Press the Next button and then Browse for the old projects you would like to import. Check "Copy projects into workspace" to make a copy.

Upvotes: 301

Nirbhay Mishra
Nirbhay Mishra

Reputation: 1648

You can create multiple workspaces in Eclipse. You have to just specify the path of the workspace during Eclipse startup. You can even switch workspaces via File→Switch workspace.

You can then import project to your workspace, copy paste project to your new workspace folder, then

File→Import→Existing project in to workspace→select project.

Upvotes: 16

Related Questions