Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse not applying selection foreground color

Tags:

eclipse

colors

I used http://www.eclipsecolorthemes.org/ to set up syntax coloring in Eclipse. My standard palette is dark on light, but selected text is inverted (light on dark). The problem is that Eclipse uses my selection background color but keeps the regular foreground color, so I wind up with an unreadable dark-on-dark.

Generally this is on code, so my foreground colors are coming from the syntax-based colors, but I tried this on a plain text file that uses the basic colors from the General > Editors > Text Editors preference. Normal text is "Foreground color" on "Background color" and selected text is "Foreground color" on "Selection background color" -- it seems to ignore "Selection foreground color" entirely.

This is Eclipse Indigo on OS X. I recently swapped hardware and went through a long and iterative process of rebuilding my Eclipse environment, but I could swear that this was working fine previously (on Helios).

like image 633
Adam Avatar asked Nov 05 '22 06:11

Adam


1 Answers

I was also having issues with 'selection color' on a dark background. I was interested in changing 'selection background color' and not foreground color though.

A restart of Eclipse worked for me on OS X (other color changes take effect immediately, but 'selection background color' wasn't taking effect until I restarted Eclipse)

I also upgraded to latest version of Eclipse before doing that.

like image 180
Muneeb Ali Avatar answered Nov 12 '22 10:11

Muneeb Ali