Reputation:
I want to change the warning and error highlighted text background color in Eclipse.
edit:
I have tried Window > Preferences > General > Editors > Text Editors >Annotations > C/C++ Occurrences > Color
Upvotes: 1
Views: 2139
Reputation: 52957
It looks like the color is coming from a "highlight" shown for error and warning annotations.
The place to configure these is Window | Preferences | General | Editors | Text Editors | Annotations
. For each annotation type, you can change the highlight color, or change the style to something other than "highlight" (like "underline").
In your screenshot, it looks like the highlighted annotation types are "Errors" and "Warnings", although there may be others you want to change as well.
Upvotes: 3