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
):
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.
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)
It's already reported as Eclipse Juno issue and the reason is in this bug. Looks like this update should help.
Known bug in Juno,this feature goes Off/On frequently. I'm using Alt+Shift+O as workaround!!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With