Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to highlight text/variable in eclipse [duplicate]

My Eclipse IDE wouldn't highlight similar text/variable in Java code, till yesterday it was working fine. Today if I click on a variable inside a class it would not highlight same variable present elsewhere in class. Should I enable any thing in IDE?

like image 240
David Prun Avatar asked Aug 02 '10 02:08

David Prun


2 Answers

Please check

  1. 'Toggle Mark Occurrences' enabled (It is in the tool bar or use shortcut Alt + Shift + O).

  2. Checks the preference. Go to 'Preference' then navigate to 'General --> Editor --> Text Editors --> Annotations --> Occurrences'.

like image 66
Sujee Avatar answered Nov 08 '22 09:11

Sujee


I found the answer, I had to toggle mark occurrences alt+shift+o. If any one faces this issue you can try this to fix it.

like image 42
David Prun Avatar answered Nov 08 '22 10:11

David Prun