Eclipse不会突出显示匹配的变量 [英] Eclipse does not highlight matching variables

查看:100
本文介绍了Eclipse不会突出显示匹配的变量的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Eclipse不会为我突出显示匹配的变量:





我已经尝试通过



<$ p $更改标记事件 p> 窗口 - >偏好 - > Java - >编辑 - > Mark Occurrences

但它没有工作。我不知道为什么这不工作,而其他人
已经能够解决问题。



有谁可以告诉我如何设置突出显示的匹配变量?



用我的眼睛寻找同样的变量真的困扰着我太多了。

解决方案

尝试:

 窗口>偏好> java>编辑>标记出现

选择所有可用的选项。



另请参阅:

 首选项>一般>编辑者>文本编辑器>注释

比较发生次数和写入发生次数的设置



确保您没有为其中一个选中Text as higleded选项。



这应该解决它。 p>

Eclipse does not highlight matching variables for me:

I've already tried to change "Mark occurrences" via

Window -> Preferences -> Java -> Editor -> Mark Occurrences

but it didn't work. I am not sure why this is not working while others have been able to fix the problem.

Can anyone tell me how can I set highlighting matching variables?

Looking for same variables with my eyes really bothering me too much.

解决方案

Try:

window > preferences > java > editor > mark occurrences 

Select all options available there.

Also go to:

Preferences > General > Editors > Text Editors > Annotations

Compare the settings for 'Occurrences' and 'Write Occurrences'

Make sure that you don't have the 'Text as higlighted' option checked for one of them.

This should fix it.

这篇关于Eclipse不会突出显示匹配的变量的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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