Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse Color Theme reverts to default every time I exit

I am using the native "Dark" theme in Eclipse Luna and then using the Eclipse Color Theme plugin to pick some different editor themes. The issue is that every time I open up Eclipse it is using the defaults that come with the native Dark theme and I have to go and set my Color Theme for the editors every time.

Is there a way I can get it to remember my Color Theme settings?

like image 643
adamconkey Avatar asked May 09 '15 22:05

adamconkey


2 Answers

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:

  1. windows 10 (64 bit, but for 32 bit is probably the same)
  2. eclipse oxygen

Steps:

  1. Set the "global" theme to the dark theme: (Windows>Preferences>General>Appearance>Theme:Dark)
  2. close eclipse. (You can change the Color Theme to let's say Recogn Eyes -which is my favorite-)
  3. Re-open eclipse. (If you changed the Color theme you will have the default for the Dark theme, since you are reading this)
  4. Open File explorer and look for C:\Users\[user]\eclipse-workspace\.metadata\.plugins\org.eclipse.core.runtime\.settings
  5. Open org.eclipse.e4.ui.css.swt.theme.
  6. Copy text after =, and keep that in your clipboard , in my case it was org.eclipse.e4.ui.css.theme.e4_dark
  7. (In eclipse) Set the schema to default, and close the application.
  8. open eclipse and choose your favorite color theme.
  9. Close eclipse.
  10. 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 =.
like image 55
MoeBoeMe Avatar answered Sep 19 '22 01:09

MoeBoeMe


Open Preferences -> Oomph -> Preferences recorder -> Enable then set the theme once again, this time Oomph will record it

like image 27
Youssef Sadiki Avatar answered Sep 22 '22 01:09

Youssef Sadiki