Issue
Eclipse does not highlight matching variables for me:
I've already tried to change "Mark occurrences" via
Window -> Preferences -> Java -> Editor -> Mark Occurrences
but it didn't work. I am not sure why this is not working while others have been able to fix the problem.
Can anyone tell me how can I set highlighting matching variables?
Looking for same variables with my eyes really bothering me too much.
Solution
Try:
window > preferences > java > editor > mark occurrences
Select all options available there.
Also go to:
Preferences > General > Editors > Text Editors > Annotations
Compare the settings for 'Occurrences' and 'Write Occurrences'
Make sure that you don't have the 'Text as higlighted' option checked for one of them.
This should fix it.
Answered By - Korhan Ozturk
Answer Checked By - Pedro (JavaFixing Volunteer)