Highlighting inactive preprocessor directives in IAR Embedded Workbench

Is there a way that IAR Embedded Workbench can output inactive blocks of code in preprocessor conditions?

eg.

#ifdef TEST
    some code
#endif

      

So if the TEST macro is not defined, is the "some code" part crossed out somehow?

+3


source to share





All Articles