user8677351
user8677351

Reputation:

How to change warning and error highlighted text background color in Eclipse?

I want to change the warning and error highlighted text background color in Eclipse.

enter image description here

edit:

I have tried Window > Preferences > General > Editors > Text Editors >Annotations > C/C++ Occurrences > Colorenter image description here

Upvotes: 1

Views: 2139

Answers (1)

HighCommander4
HighCommander4

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

Related Questions