How to change warrning and errored highlighted text background colour in eclipse?

半世苍凉 提交于 2020-01-15 23:35:48

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!