Make #defines follow indent

Discussion created by FridgeFreezer on Aug 13, 2012
Latest reply on Aug 29, 2012 by FridgeFreezer

I'm sure there's a config menu somewhere to do this, but there are thousands of config options and I want to liiiiive...


When I type #define (something) or #if (something), CW 10 *always* moves it to the far left, regardless of whatever indenting is going on in the code. For example:


if(something){     do_stuff;     #ifdef DEBUG_PRINT_STUFF     print_stuff;     #endif}


CW will always try and put the #if / #endif on the left. Anyone know how to stop it doing this?