Andrew Coomes Andrew Coomes - 4 months ago 23
Java Question

Changing text color in Eclipse

I'm trying to change the text color in Eclipse (version 3.7).

From what I've read about this it seems I should be able to change the java editor text by going to window > preferences > general > appearance > colors and fonts, selecting java > java editor text and clicking "edit".

When I do this and choose a different color, however, it simply reverts to black whenever I click "ok". I can change the font, size and other attributes, just not color. I've tried changing the "set to default: text font" to "overrides default:text font", right clicking the text I want changed and selecting preferences from there, changing the basic > text font (same problem).

Any ideas?

Answer
Window > Preferences > Java > Editor > Syntax Coloring