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.
Go to Window -> Preferences -> General -> Editors -> Text Editors. Enable the option named Highlight current line . If you still do not see current line highlighted, then the highlight color might be set to white or the same as background color of your theme.
To select, you can use Shift + Alt + any arrow key.
Alt + Shift + O disables and enables this feature, which is called Mark Occurrences. There is also a toolbar button to toggle it on and off.
You can try to activate Toggle Mark Occurrences with icon on Toolbar:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With