如何在Eclipse中更改警告和错误突出显示的文本背景颜色? [英] How to change warrning and errored highlighted text background colour in eclipse?

查看:250
本文介绍了如何在Eclipse中更改警告和错误突出显示的文本背景颜色?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想更改日食中出现交织和错误的突出显示文本背景颜色。

I want to change the warring and errored highlighted text background color in eclipse.

编辑:-

我已经尝试过 Window>偏好设置>一般>编辑>文字编辑器>注释> C / C ++发生率>颜色

(我是菜鸟要食)

推荐答案

该颜色似乎来自为错误和警告注释显示的突出显示。

It looks like the color is coming from a "highlight" shown for error and warning annotations.

配置它们的地方是 Window |首选项|一般|编辑|文字编辑器|注释。对于每种注释类型,您可以更改突出显示颜色,或将样式更改为突出显示以外的其他颜色(例如下划线)。

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.

这篇关于如何在Eclipse中更改警告和错误突出显示的文本背景颜色?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆