User forums > General (but related to Code::Blocks)
AStyle annoyances
(1/1)
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:
--- Code: ---if()
//and
switch()
--- End code ---
to:
--- Code: ---if ()
//and
switch ()
--- End code ---
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.
...
--- End quote ---
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
Navigation
[0] Message Index
Go to full version