Skip to content

Moving Eclipse ABAP ADT Style and Settings to Another Workspace

My Intellij-inspired theme:

Eclipse releases a new version at least every 3-4 months. SAP ADT (ABAP Development Tools) Plugin also releases new versions by following Eclipse. So I change my Eclipse version every 6-7 months. Eclipse recommends a new workspace for each new version. Keeping settings and styles the same is a problem for me. Because Eclipse default ‘preferences Export/Import‘ feature does not work properly.

I use a custom style that is inspired by Jetbrains Intellij IDE. Also, I have several code templates and favorites (it is stored in a plugin named ABAP Favorites)

And I found a way to move workspace settings to another workspace by copying settings files.

I use Dark theme. So after a fresh new installation, you need to set Eclipse theme to Dark. This property does not take part in our copied files.

Before copying files close old and new Eclipses.

Go to your old workspace, and follow to the directory:

/.metadata/.plugins/org.eclipse.core.runtime/.settings/

There are your setting files. Copy preferences files to new workspaces same directory (/.metadata/.plugins/org.eclipse.core.runtime/.settings/)

com.sap.adt.debugger.prefs
com.sap.adt.debugger.ui.prefs
com.sap.adt.ris.search.ui.prefs
com.sap.adt.sapgui.ui.prefs
com.sap.adt.tools.abapsource.ui.prefs
com.sap.adt.tools.core.ui.prefs
com.sap.adt.tools.sources.ui.prefs
com.sap.adt.util.ui.prefs
org.eclipse.debug.ui.prefs
org.eclipse.ui.editors.prefs
org.eclipse.ui.ide.prefs
org.eclipse.ui.navigator.prefs
org.eclipse.ui.prefs
org.eclipse.ui.workbench.prefs
org.eclipse.ui.workbench.texteditor.prefs

If you use the Favorites Plugin (you can check to see what is it: https://marketplace.eclipse.org/content/abap-favorites) you can copy following files to keep your favorites.

com.abapblog.favorites.ui.selectFolderDialog.Favorites.prefs
com.abapblog.favorites.ui.selectFolderDialog.FavoritesDO.prefs
com.abapblog.favorites.views.Favorites.prefs
com.abapblog.favoritesDO.views.FavoritesDO.prefs

After copying files I moved my Intellij inspired theme.

You can download my layout settings from:

https://github.com/ozkancinar/Eclipse-ABAP-Intellij-Darcula-Theme

Leave a Reply

Your email address will not be published. Required fields are marked *