Unable to highlight text / variable in eclipse

My Eclipse IDE does not highlight the same text / variable in Java code, until yesterday it worked fine. Today, if I click on a variable inside the class, it will not highlight the same variable present elsewhere in the class. Should I include any thing in the IDE?

+6
java eclipse eclipse-plugin
source share
3 answers

Please check

  • The inclusion of switch markers is enabled (displayed on the toolbar or using the keyboard shortcut Alt + Shift + O).

  • Checks preference. Go to the "Preferences" section, then go to "General -> Editor -> Text Editors -> Annotations -> Occurrences".

+18
source share

I found the answer, I had to switch the alt + shift + o appearance marks. If someone is facing this problem, you can try this to fix it.

+2
source share

Make sure that Preference → Annotations - Occurences Text, Highlighted should be selected as the value of the checklist.

+1
source share

All Articles