Michael Dz
Michael Dz

Reputation: 3854

Eclipse ignores font color changes after restart

I'm using Eclipse EE Mars 2 with dark theme. All uncommitted files in my project appear with black font whats barely visible on a gray background. I know that I can change font color by going to: Preferences > Appearance > Color and Fonts > Git > Uncommited Change (Foreground) enter image description here

Works fine after I change color and apply changes but it's just a temporary solution because when I restart Eclipse all changes are gone. It's very inconvenient to change font color each time I run Eclipse, does anyone know how to change egit font color permanently?

Upvotes: 0

Views: 445

Answers (1)

Pyves
Pyves

Reputation: 6483

The Oomph plugin is resetting your preferences at startup. The following approaches are possible:

  • Completely disable this behaviour by enabling the following parameter in Eclipse's preferences: Preferences -> Oomph -> Setup Tasks -> Skip automatic task execution at startup time.
  • Selectively disable recording for that specific preference (as mentioned in your comment, /instance/org.eclipse.ui.workbench/org.eclipse.egit.ut.Uncom‌​mittedChangeForegrou‌​ndColor in your case). To access the recorder, go to Preferences -> Oomph -> Setup Tasks -> Preference Recorder.
  • Modify the value of the recorded preference by selecting it from the Preference Recorder screen and clicking on the Open recorder target file icon.

Upvotes: 1

Related Questions