Eclipse Color Theme reverts to default every time I exit
To set up Dark theme as a "global" theme, and the theme you like from Eclipse Color Theme that you installed from Market Place, you can do the following. I used:
- windows 10 (64 bit, but for 32 bit is probably the same)
- eclipse oxygen
Steps:
- Set the "global" theme to the dark theme: (
Windows>Preferences>General>Appearance>Theme:Dark
) - close eclipse. (You can change the Color Theme to let's say Recogn Eyes -which is my favorite-)
- Re-open eclipse. (If you changed the Color theme you will have the default for the Dark theme, since you are reading this)
- Open File explorer and look for
C:\Users\[user]\eclipse-workspace\.metadata\.plugins\org.eclipse.core.runtime\.settings
- Open
org.eclipse.e4.ui.css.swt.theme
. - Copy text after
=
, and keep that in your clipboard , in my case it wasorg.eclipse.e4.ui.css.theme.e4_dark
- (In eclipse) Set the schema to default, and close the application.
- open eclipse and choose your favorite color theme.
- Close eclipse.
- Go to the file
org.eclipse.e4.ui.css.swt.theme
again and paste what was in the clipboard (themeid=org.eclipse.e4.ui.css.theme.e4_dark
, in my case) after the =.
The following works in Eclipse Neon for me:
@djgeary @jdeyton Try enabling Oomph preferences recorder in Eclipse Mars settings (icon in settings window at bottom part of the screen, near help icon). After that set theme and that it. Next time you launch eclipse Oomph should restore correct theme settings.
Credit goes to dovydasvenckus for answer on github, here.
This solution work for me: try to change it to Classic and restart your computer. Then change it back to Dark Theme, now the color themes are remembered after restarting Eclipse.
Open Preferences -> Oomph -> Preferences recorder -> Enable then set the theme once again, this time Oomph will record it