Facing a weird code coloring issue when trying to view disabled code.
For blocks of code that are disabled with #ifdef
or #ifndef
statements, I get a grey/white background:
However, when the code is enabled, things are okay:
Where can I find this color property in the properties menu? I can't find anything about disabled code, and it isn't under any of the pre-processor color coding menus.
As suggested here:
Preferences -> C/C++ -> Editor, “Highlight inactive code” checked, Appearance color options: Inactive code highlight.
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