I define a preprocessor symbol in Project properties -> C/C++ Build ->
Settings -> Tool Settings. In my source code I use this preprocessor
symbol like this:
#ifdef MY_SYMBOL
#endif
The source code within the #ifdef and #endif appears grey even if the
preprocessor symbol is set. Does the C/C++ editor consider
preprocessor symbols set by build configuration settings?