title: Eclipse stops highlighting references after a while
body: <p>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.</p>
  
  <p>On this example, <code>parameters</code> was the last variable correctly highlighted, but now it's no longer working and not highlighting anything else (it should highlight <code>password</code>):</p>
  
  <p><img src="https://i.stack.imgur.com/CKLS0.png" alt="Screenshot of problem example"></p>
  
  <p>Toggling <code>Mark Occurrences</code> off and back on doesn't solve it. I've already tried restarting Eclipse and rebooting the computer (had this problem for weeks actually).</p>
  
  <p>The only workaround I found so far is closing the file, and reopening it. But then it stops working again after some time.</p>
  
  <p>For info, I am using Eclipse 4.2.2, on Windows 7 64 bit machine.</p>