Muhammad Yojer
Muhammad Yojer

Reputation: 171

How can I export Eclipse GUI settings?

I've created a new workspace in Eclipse, and it starts at the standard GUI settings (e.g. white, standard font, welcome screen shows up every time Eclipse is opened, etc.). I have another workspace that has all the settings that I like, and I would like to export them and use them in my new workspace. How can I do so?

Upvotes: 0

Views: 366

Answers (4)

Jool
Jool

Reputation: 1785

In order to copy just the GUI preferences, excluding window layout, from your workspace of choice, copy the following two files, from the workspace's sub-directory:

<Eclipse-workspace>\.metadata\.plugins\org.eclipse.core.runtime\.settings

  • org.eclipse.jdt.ui.prefs
  • org.eclipse.ui.editors.prefs

and copy them to the same place in your new Eclipse workspace.

This has been tried in version 2023-03 and previous ones (going back a couple of years at least).

As an aside, I always keep projects outside of the Eclipse workspace as I use other IDE's too, so I only have one workspace (on a given machine) which is empty apart from its own configuration settings.

Upvotes: 0

Ryan Alderton
Ryan Alderton

Reputation: 3

Doesn't general preferences hold GUI Settings?

If so,

File > Export, General > Preferences, export all and then select where to save.

Then import as usual

Upvotes: 0

kk.
kk.

Reputation: 3945

Open the workspace from which you want to copy settings. File -> Switch Workspace -> Other and expand Copy Settings check Workbench Layout. See whether this copies the settings that you want by choosing your workspace.

Upvotes: 1

tsolakp
tsolakp

Reputation: 5948

I dont think Eclipse provides export functionality for UI settings. Here is what I am doing with my Eclipse workspaces.

1) Create empty workspace and customze it to your liking. Lets call it 'template' workspace.

2) Copy the whole 'template' workspace to another directory, rename it and use it for your project. Next time you need another project with same customization just copy that 'template' workspace and rename according to the other project.

Upvotes: 1

Related Questions