views:

52

answers:

2

Hello, 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?

A: 

Hello, 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.

Looks like you found the answer already :)
Sujee
A: 

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'.

Sujee