code-gnu-global
code-gnu-global copied to clipboard
Grey out code block when #ifdef is false
Wouldn't it be great if code blocks could visually show that it's enclosing #ifdef was false?
E.g. if ENC1 was undefined, the complete #ifdef would be greyed out.

There would need to be a way to disable this feature. In my projects we use make files with build flags to handle #ifdefs meaning the ide does not know about enabled flags.
Fair enough. The hard part is implementing this feature.