Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
Hi!
I was wondering if there would be a way to get the compiler format #ifdef etc. statements correctly? Now it always makes them start from the first column no matter where in a structure they are. This makes it harder to see where they start and end.
I would like to sometimes use the #ifdef statements as if-else structures to minimize the code size by e.g. leaving out large pieces of the code when not debugging.
Would this functionality be possible to implement in the compiler formatting or do you have a good reason not to do it?
-Axel