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?
Please check
'Toggle Mark Occurrences' enabled (It is in the tool bar or use shortcut Alt + Shift + O).
Checks the preference. Go to 'Preference' then navigate to 'General --> Editor --> Text Editors --> Annotations --> Occurrences'.
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.
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