7 years, 4 months ago.

mbed compiler format command

A very small gripe.

The online compiler seems to have a very small bug:

When using a switch structure the first line after a case statement gets indented too far, unless this is expected but it kinda bugs me. It always makes me look for further logic to explain the indent.

eg.

switch(key_in) {
       case TOUCH_KEY_OK:
            key_press_feedback = true;
       menu_level = TOUCH_MAIN_MENU;
       break;
Be the first to answer this question.