Is there a way I can have IAR Embedded Workbench grey out inactive blocks of code within preprocessor conditions?
E.g.
#ifdef TEST
some code
#endif
So if macro TEST is not defined the "some code" part is somehow greyed out?
Is there a way I can have IAR Embedded Workbench grey out inactive blocks of code within preprocessor conditions?
E.g.
#ifdef TEST
some code
#endif
So if macro TEST is not defined the "some code" part is somehow greyed out?
This feature has been implemented at some point in the later versions of the IAR IDE for Arm.
The checkbox to enable/disable it can be found under Tools
-IDE Options
-Editor
-[x] Show Inactive code
.
I am using it since 9.10 as well as the official IAR extension for VScode.