Search code examples
eclipseeditoreclipse-cdtbackground-color

Eclipse: how to change current word background color?


I set Eclipse in dark mode. Everything is fine, except the word where the cursor is currently located. This is shown with a light foreground color on a light grey background. Almost unreadable.

I could not fine the option to change this setting.

Language: C++
Version: Eclipse 2019-12


Solution

  • I believe this is a known issue.

    You should be able to change the color under Preferences --> General --> Editors --> Text Editors --> Annotations --> C/C++ Occurrences.