Reputation: 22997
How to automatically show the usages of local variables, fields, methods, classes and so on?
Notice: The mark occurences function in Eclipse does exactly what I want (see Eclipse editor show variable occurrence), BUT... It doesn't update when I move the cursor. To update marking of occurences, I must turn off mark occurences, and then turn it on again.
Now is there a function which marks the occurences of references and updates it automatically when I move the cursor?
Upvotes: 1
Views: 88
Reputation: 1324505
To update marking of occurences, I must turn off mark occurences, and then turn it on again.
You shouldn't have to do this, and the occurrences should update themselves anytime you click on another (variable/field/method/class).
The only instance where occurrences aren't reliably displayed is with the latest Eclipse Juno 4.2.
See bug 400661 and bug 398509, to be fixed (with this commit) in KeplerM7 (end of April) or Kepler 4.3 full release (June 2013).
Upvotes: 2