Really annoyed by eclipse masking over #if defined region with grey color. I want to either turn off this feature, or make it the same as for normal region. Have been looking for a solution for some time but couldn't find anything.
HELP!
Thanks.
If you are having trouble with Eclipse 2019 and using a dark theme and setting the background and having it not change: There seems to be a recent Eclipse bug. I suggest you look here or here for workarounds. Show activity on this post.
Editor colors are set chaotically by different editors, search for background in eclipse preferences to find different options. One easy way to get beautiful dark (and not only dark) themes is to install Afae plugin, and then pick theme within its preferences (twilight theme is beautiful, for example) - again, eclipse prefs, Afae group.
If you go to Windows, Preferences then select General, Editors, Text editors, you can set colors on that property page (and there's a link for setting MORE colors - General, Appearance, Colors and fonts). That's with an Eclipse 3.3 build anyway.
Window > Preference > [Your Language] > Editor > Syntax Coloring Inside the panel, you should able to find out preference color/font for your language. For C/C++ editor, it has an option call "Inactive code highlight". I went through those settings number of times, but couldn't find background change option for #define / #ifdef / #ifndef.
You can adjust language syntax coloring via
Window > Preference > [Your Language] > Editor > Syntax Coloring
for the language specified background color, you can check
Window > Preference > Appearance > Colors and Fonts
Inside the panel, you should able to find out preference color/font for your language.
UPDATE :
There is an "Appearance Color Option" in
Window > Preference > [Your Language] > Editor
For C/C++ editor, it has an option call "Inactive code highlight".
On Mac:
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