Disable dimmend undefined sourceceode vscode

Viewed 1886

In VSCode, the editor dimms the color of the source-code which has been uncommented by defines.

Eg:

#ifdef SOMETHING_NOT_DEFINED
// This sourcecode has dimmed color.
#endif

How can you disable this? Is there a setting, and if not, what is the color-setting for this?

1 Answers

I found the answer myself. Just put

"C_Cpp.inactiveRegionOpacity": 1

in your settings.json file.

Related