News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

AStyle annoyances

Started by Poobah, September 02, 2006, 12:21:51 PM

Previous topic - Next topic

Poobah

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.

Ceniza

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.
...

Poobah

Well I guess I'll stop using AStyle then.

fili

Heh, who thinks this is a minor point should check the options from IntelliJ Idea  :D
Have FUN,
FeeL E!