I love the color themes (thanks!), but one seriously nagging issue is that the code that is #ifdef\'d out, is impossible to read (and annoyingly bright). If I highlight tho
You can disable #ifdef highlighting entirely by going to:
Window -> Preferences -> C/C++ -> Editor and unchecking the box "Highlight inactive code".
Also, you can change the #ifdef highlighting color by going to that same screen and changing the "Inactive code highlight" color (under "Appearance color options" heading) to a color that works better for you.
I was looking also for write occurance background. I'll recommend for everybody to change also "Test as" to "Dashed Box" in: Preferences -> General -> Editors -> Text Editors -> Annotations -> C/C+ Write Occurrences
Well, I found a partial answer:
Preferences -> C/C++ -> Editor -> syntax highlighting -> preprocessor -> directives changed the foreground color to black.
Preferences -> C/C++ -> Editor -> syntax highlighting -> preprocessor -> others changed foreground color to black
Preferences -> C/C++ -> Editor -> syntax highlighting -> code -> others changed foreground color to black.
At least now I can see it. Anyone know how/where to change the background color for those blocks?
Thanks!
Window -> Preferences -> C/C++ -> Editor -> Appearance code options -> Inactive code highlight Choose another color. I prefer grey.
I also recommend to change occurrences background: General -> Editors-> Text Editors -> Annotations -> C/C++ Occurrences
I found this: https://github.com/eclipse-color-theme/eclipse-color-theme/issues/35
"Preferences -> C/C++ -> Editor, “Highlight inactive code” checked, Appearance color options: Inactive code highlight."
This turns off the highlighting for the inactive parts of the code, making them readable again. I haven't found a way yet to change the highlighting color.