Cannot highlight all occurrences of a selected word in Eclipse

Adrian picture Adrian · Apr 25, 2012 · Viewed 65.1k times · Source

I tried using the Toggle mark occurrences (Alt + Shift + O) button and also in Preferences -> General -> Editors -> Text Editor -> Annotations and setting the C/C++ Occurrences and C/C++ Write occurrences. But still when I select a word it won't highlight all occurrences of that specific word.

What I am using is Eclipse Indigo Service Release 2 in XP, with a C++ project.

Answer

Mark picture Mark · Apr 25, 2012

You can try to activate Toggle Mark Occurrences with icon on Toolbar: Eclipse Toolbar