问题
I want to change the warring and errored highlighted text background color in eclipse.
edit:-
I have tried Window > Preferences > General > Editors > Text Editors >Annotations > C/C++ Occurrences > Color
(i am noob to eclipse)
回答1:
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.
来源:https://stackoverflow.com/questions/46993032/how-to-change-warrning-and-errored-highlighted-text-background-colour-in-eclipse