Eclipse EGit with dark background, still has black text

eclipseeclipse-lunaegit

My apologies if Stackoverflow was the incorrect Stackexchange site for this IDE-related question.

I am working on a project, which is shared with Git, on Eclipse Luna. As such, I rely on the EGit plugin for Git integration in the IDE (note that I have installed the latest version of EGit, 3.5). I prefer using dark colour themes in my IDEs, so I am using Moonrise UI and Eclipse Color Themes plugins to enable this behaviour.

It all works fine, my IDE is dark and colours within the toolbars and menu are not abnormal. However, there are still problems with the EGit colouring in my Package Explorer. The main issue is that certain text in the Package Explorer is now coloured black (this is being done on directories and files that have been edited). And this is against a black background. This makes it near impossible to see the text that is being coloured.

I know that I can change this colouring manually by going into Preferences –> General –> Appearance –> Colors And Fonts, select Git, and change all actions resulting in the colour black to be a different colour instead. However, I find this to be a little tedious and I thought that perhaps there is a more intuitive way to have these colours changed dynamically to make more sense against a dark background. I am also having these thoughts because this issue has already been reported as a bug in EGit that should have been fixed by version 3.5.

Any insight into this issue I'm facing is much appreciated.

Best Answer

You need to edit the Eclipse Theme. Go to Window -> Preferences -> Appearance > Colors and Fonts. Search by Uncommitted Change (Foreground), edit and choose your preferred color.