Hello, I've been working with SE some months, but I'm not a professional with tool yet. I tried to search in the forum for this topic but I couldn't find it, if you know this topic was already discussed pleasee post the link to that topic.
THANKS all for your help. AHH my SE version is: 12.0.0.0 and I usually program C code for embedded systems, so this feature is always really appreciated.
Is there a way to allow SE to color certain parts of the code depending on if a definition, or macro is true or false or is define or not? I mean, for example, if I have the following code:
#if defined ( C_ENABLE_MULTICHANNEL_API )
# define C_MULTIPLE_RECEIVE_CHANNEL
# define MULTIPLE_RECEIVE_CHANNEL
#else
# define C_SINGLE_RECEIVE_CHANNEL
#endif
I would like to SE to color different the code that is really compiled due the TRUE case of the #if defined, and with other color (like gray) the part of the condition that will not be met or compiled due it is in the FALSE case.
I saw this feature in many other IDEs, so hopefully SE will have it too. Please let me know if you need clarification on this. THANKS