Eclipse:如何更改当前选择的方法/表达式的突出显示颜色? [英] Eclipse: How do you change the highlight color of the currently selected method/expression?

查看:118
本文介绍了Eclipse:如何更改当前选择的方法/表达式的突出显示颜色?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在eclipse中,当光标放在方法(或其他东西)上时,该方法存在的其他位置将被突出显示。我想改变这个亮点的颜色,但是在所有3个地方多次冲刷日食偏好后,我还没有找到它。

In eclipse, when your cursor is placed on a method (or other things), other places the method exists are highlighted. I'd like to change the color of this highlight, but after scouring the eclipse preferences many times in all 3 places, I have yet to find it.

你们中的任何一个Eclipse大师知道在哪里找到这个选项?

Any of you Eclipse gurus know where to find this option?

谢谢!

推荐答案

p>在首选项对话框中运行后,以下是可以更改出现的突出显示颜色的位置:

After running around in the Preferences dialog, the following is the location at which the highlight color for "occurrences" can be changed:

常规 - >编辑 - >文本编辑器 - >注释

注释类型中查找发生列表。

然后,请确保选择文本作为高亮显示,然后选择所需的颜色。

Then, be sure that Text as highlighted is selected, then choose the desired color.

而且,一张照片值得一千字...

And, a picture is worth a thousand words...

首选项对话框http://coobird.net/img/eclipse-occurences-1.png

以橙色突出显示出现的图像。 http://coobird.net/img/eclipse-occurences-2.png

这篇关于Eclipse:如何更改当前选择的方法/表达式的突出显示颜色?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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