I think I may have found two bugs in AStyle in the latest C::B. Firstly, no matter what I change the settings to, it will always expand:if()
//and
switch()to:if ()
//and
switch ()
It also acts strangely when indenting switch() and case: statements.
Quote from: Artistic Style - News: Artistic Style 1.19...
Padding to paren headers (e.g. "if", "for", "while") was reinstated. This was done in previous releases if pad=oper was used. Since most people used this option, the headers were usually padded. The general opinion was that they looked better padded, especially in the case of "else if" statements. Since it is a minor point, it was not made an option.
...
Well I guess I'll stop using AStyle then.
Heh, who thinks this is a minor point should check the options from IntelliJ Idea :D