In Eclipse, I try to change the background color of my comments in Java code. Is that possible?
A:
Of course you can: Window > Preferences Then look for Java > Editor > Syntax Coloring In there you can set the style (bold, italic, color, ...) for single-line, multi-line, and javadoc comments (as well as all other syntactic markup).
Edit: Oh sorry, I didn't read the question well enough, as the above only works for foreground coloring.
Changing background colors in Eclipse in general is already answered here.
Frank
2010-01-27 09:03:59
It's a solution to change the background color for all lines but I need to chnage the background color only for comments.
Arutha
2010-01-27 09:09:46