Is there a package that will gray out or hide the false portion of a c preprocessor macro?
#define ENABLE 1 #if ENABLE bool hide = false; #else bool hide = true; #endif
In the above example, I want
bool hide = true; to be grayed out or hidden.
I've looked at Hide If Def, but it doesn't produce my desired effect. Executing
M-x hide-ifdefs hides
bool hide = false;, but I would expect
bool hide = true; to be hidden.
The functionality I am looking for would be similar to what NetBeans does.