This doesn't seem to work.
Putting in a carriage return to start the case puts it correctly indented the way I want it. As soon as I type a space the case moves left.
// Starts out good, cursor is right after the 'e' in case
switch( i )
{
case
}
// Then put a space after the 'e' and case moves left
switch( i )
{
case
}
The way I want format my switch statements seems to the default in Visual Studio, CCS & Boxer.
switch(i) // Boxer
{
case FIRST_CASE:
break;
}
switch(i) // OR , most of the time, I indent the break like this.
{
case FIRST_CASE:
break;
case SECOND_CASE:
break;
}