I have created my own perspective in a workspace in Eclipse. But, when I start working on a different workspace I would like to have access to the same perspective. How do I migrate perspective from one workspace to another?
|
feedback
|
|
There are two ways to do this First Method Go to your workspace directory and look in this path
This directory contains the perspective settings and the workbench layout. Copy this folder and its contents to the workspace(same path) of the other computer. You might also want to look in
This directory contains all the settings you have made in the eclipse preferences. There is an article on this on a blog at How to export eclipse workbench layout (or perspective settings) Second Method This can be done using the GUI of eclipse from
This will export the preferences to a
| |||
|
feedback
|
|
Two methods from Share Eclipse perspective layouts across multiple workspaces : Method 1: Save the layout as a new perspective To save your perspective, select Note: You can choose to overwrite one of the default perspectives, eg. Java, without fear. However, I prefer to leave these intact, so always choose a new name, but you can choose whatever works for you.
Now you can go through the normal routine of exporting the preferences to a properties file via If you’ve chosen to create a new perspective, be sure to point your Run/Debug settings to the new perspective under Window > Preferences > Run/Debug > Perspectives. For example, if you made a new perspective based on the Debug perspective, then you’ll need to change references to the Debug perspective to the My Debug for launchers you use. Luckily this is only required once as these settings are also saved when you export preferences (at least since Eclipse 3.5). Method 2: Use Copy Settings The other method of saving your window layout is to use the Copy Settings feature when switching to another workspace. To use this feature, first open the workspace that contains your customised layout. Then select File > Switch Workspace > Other… which will open a dialog prompting you for an existing/new workspace. Select the workspace, then click the Copy Settings collapsible section. Select the Workbench Layout checkbox and click Ok. Your workspace will open and should reflect the customised layout of the previous workspace. Here’s what the dialog looks like:
| |||
|
feedback
|


