PDA

View Full Version : eclipse-dark and Ambiance-dark - how to change background color of current line



tigerjack89
November 25th, 2014, 09:27 AM
I'm trying to use the Dark theme with eclipse and the results are pretty cool. However, as you can see from the image below (last line starting with ObjectMapper), it is pretty difficult to read the text of the currently selected line: the background color is a shade of white/grey, very similar to the color of some of the text.
Ubuntu Ambiance-dark + Eclipse Dark
http://i.stack.imgur.com/sQeyk.png


I think this bad background color is setted by the Ambiance-dark theme, which is my default GTK theme on ubuntu.
So, I'd like to use Ambiance-dark theme on Ubuntu and Dark-theme on eclipse, but I'd like to change the default background color of the selected line. Is there any way to change this color in eclipse only? Or, if it's not possible, is there any way to change it in Ubuntu? Another workaround?


I also tried tried to use the GTK theme in eclipse, but it sucks compared to the dark theme.
Ubuntu Ambiance-dark + Eclipse GTK
http://i.stack.imgur.com/U7c3u.png

vasa1
November 25th, 2014, 02:54 PM
See if this very old link helps: http://stackoverflow.com/questions/4402087/how-to-change-the-color-of-the-currently-selected-line-in-a-code-assist-popup-in

I don't know anything about eclipse myself.

tigerjack89
November 25th, 2014, 04:28 PM
See if this very old link helps: http://stackoverflow.com/questions/4402087/how-to-change-the-color-of-the-currently-selected-line-in-a-code-assist-popup-in

I don't know anything about eclipse myself.
You made my day sir :D Thanks a lot!!