Using multiple build configurations
For my program i need a serval different versions. So i made a few build configurations. The differences in version are defined in C/ Build-> Settings->Preprocessor->Defined symbols. For each configuration i made a different symbol. Type1, Type2 ect.
Now my programs knows the the symbol and with #if defined Type1... and #if defined Type2... enable and disable the code.
However the eclipe editor keeps the code always marked gray as if not active. I know its active because if making a typo it will fail on that.
AC6 please enable the text when the define is true (or do i have to set the define somewhere else?)