How to change overview rule background color in Eclipse 3.4.0.I20080617-2000 (vertical bar on right of editing window with some annotations) ?
General > Editors > Text Editors > Annotations allows only to change colors of marks itself not background of whole bar.
It looks like my web searching skills are getting weaker since I cannot find it anywhere ...
i added below and works well in eclipse luna & neon. It works
I also faced the problem of not being able to see the colors in the annotations ruler, so I've made a small plugin which enables setting the background color for the ruler. You can D/L it from here: https://github.com/chookapp/AnnotationsRulerBackground
(screenshots at: https://github.com/chookapp/AnnotationsRulerBackground)
It seams to work for me. The only thing to do is to "restart" Eclipse after your change. The overview ruler and the editor will display the selected color
What if you are using eclipse 4, try this. https://github.com/jeeeyul/eclipse-themes
My solution has been to make the text light on a dark background across all text editors.
(Window -> Preferences -> General -> Editors -> Text Editors -> Background color => BLACK
, and then every 'Syntax Coloring' you need)This way the annotation colours I choose can be quite highly saturated dark colours - the text is then still legible over the annotation highlight in the text editor, but the marker in the overview ruler is also highly visible (assuming a light window colour in your OS).
The downside of this is that you have to do a lot of customising to get there. (Its worth exporting your preferences for other workspaces if you plan to go down this route.) And its more of a workaround than an answer :-(
You can actually just disable this bar by going to Preferences > General > Editors > Text Editors. Then just uncheck the box labeled "Show range indicator". The annotations will still appear, the bar will take the color of your theme. Solution found there.