Eclipse不再突出显示参考 [英] Eclipse doesn't highlight references anymore

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

问题描述

我有一个奇怪的问题。在Eclipse Ganymede中,我曾经能够突出显示一个变量,它将突出显示在该方法中使用该变量。但是通过一些动作,我现在已经禁用了。有没有办法可以启用它?



我尝试搜索Google,但是由于我不知道这个功能是什么,所以很难。



它是一个非常有用的功能,它令人讨厌,它不起作用。

解决方案

有一个荧光笔工具栏 - 它切换Mark Occurrences。



从首选项窗口中,您的意思是通过导航到:



窗口 - > 偏好设置 - > Java - > 编辑器 / strong>




I have an odd problem. In Eclipse Ganymede, I used to be able to highlight a variable, and it would highlight the use of that variables in that method. However through some action I have now disabled it. Is there a way I can enable it?

I tried searching Google, but since I don't know what the feature is called, its kinda tough.

Its a really useful feature, and its annoying that its not working.

解决方案

There's a little "highlighter" icon on the toolbar - it toggles "Mark Occurrences".

From the preferences window, the feature you mean is configured by navigating to:

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

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

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