When a method or variable is selected it is highlighted in Eclipse with some color. Can anyone advice where to change that color? I\'m working under Windows OS.
This has made me mad for about half an hour.
If the issue appears in JavaScript files, the option is under Preferences -> General -> Editors -> Text Editors -> Annotations and in the Annotation types choose JavaScript Occurences. Mine was set to black, nasty little thing took me too long to fix.
Preferences -> General -> Editors -> Text Editors
Current Line Highlight
I think you want the above
else
Preferences -> Java -> Editor -> Syntax Coloring
Element -> Java -> Method or Variable
Check Enable and select color
I've found where to change it:
Preferences -> General -> Editors -> Text Editors -> Annotations and there you have to change both "Occurrences" and "Write occurrences".
If you're using eclipse with PHP package and want to change highlighted colour then there is slight difference to above answer.