I had this problem this morning. My eclipse wasn’t highlighting references anymore. The fix for this problem is quite easy. Just go to Window -> Preferences -> Java -> Editor -> Mark Occurrences an activate it there: