Hi, I'd like to request a feature to control the style of a "case" statement, where the body of the case starts with a left brace. Astyle always forces the brace to be on the same line as the "case", but I'd prefer the brace to be on the following line, vertically aligned with the closing brace. I can't find any control or NOPAD option to stop this. Example:
case "a":
{
x = 1;
y = 2;
}
break:
I'd like this to stay as is, but Astyle grabs the leading brace and makes it:
case "a": {
x = 1;
y = 2;
}
break;
Hope that's clear. IMO blocks like this in a case statement are unusual and need to stand out well.
Thanks for a great tool which I use daily.
Ciao, Greg E
I meant .. "stand out well regardless of the style of other brace formatting".