code-gnu-global icon indicating copy to clipboard operation
code-gnu-global copied to clipboard

Grey out code block when #ifdef is false

Open csholmq opened this issue 9 years ago • 2 comments

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.

image

csholmq avatar Feb 09 '16 15:02 csholmq

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.

Arithmeticae avatar Mar 03 '16 15:03 Arithmeticae

Fair enough. The hard part is implementing this feature.

csholmq avatar Mar 03 '16 17:03 csholmq