Create a new workspace in Eclipse

跟風遠走 提交于 2019-11-26 23:52:32

问题


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.


回答1:


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

(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.




回答2:


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...




回答3:


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.



来源:https://stackoverflow.com/questions/7234656/create-a-new-workspace-in-eclipse

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!