Eclipse的一段时间后停止突出引用 [英] Eclipse stops highlighting references after a while

查看:203
本文介绍了Eclipse的一段时间后停止突出引用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我打开一个Java文件进行编辑在Eclipse中,引用突出效果很好一段时间,但随后突然停止了几分钟后,工作。

When I open a Java file for editing in Eclipse, references highlighting works well for a while, but then suddenly stops working after some minutes.

在这个例子中,参数是正确的强调了最后一个变量,但现在它不再工作,而不是强调任何东西(它应该突出密码):

On this example, parameters was the last variable correctly highlighted, but now it's no longer working and not highlighting anything else (it should highlight password):

标记出现关闭并重新打开不解决它。我已经尝试过重新启动Eclipse和重新启动计算机(有这个问题,几个星期实际上)。

Toggling Mark Occurrences off and back on doesn't solve it. I've already tried restarting Eclipse and rebooting the computer (had this problem for weeks actually).

我发现的唯一的解决方法是迄今关闭文件,然后重新打开它。但随后停止了一段时间后再次合作。

The only workaround I found so far is closing the file, and reopening it. But then it stops working again after some time.

有关信息,我使用的Eclipse 4.2.2,在Windows 7 64位的机器。

For info, I am using Eclipse 4.2.2, on Windows 7 64 bit machine.

推荐答案

解决方法:选择一些在大纲视图(右侧),然后返回到编辑器

WORKAROUND: select something in the Outline view (on the right) and then go back to the editor.

(欲了解更多信息请参见这个错误报告

(For more info see this bug report)

这篇关于Eclipse的一段时间后停止突出引用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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