Author Topic: AStyle annoyances  (Read 3623 times)

Poobah

  • Guest
AStyle annoyances
« on: September 02, 2006, 12:21:51 pm »
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()
to:
Code
if ()
//and
switch ()
It also acts strangely when indenting switch() and case: statements.

Offline Ceniza

  • Developer
  • Lives here!
  • *****
  • Posts: 1441
    • CenizaSOFT
Re: AStyle annoyances
« Reply #1 on: September 02, 2006, 04:51:55 pm »
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

  • Guest
Re: AStyle annoyances
« Reply #2 on: September 03, 2006, 04:08:56 am »
Well I guess I'll stop using AStyle then.

Offline fili

  • Multiple posting newcomer
  • *
  • Posts: 15
  • Meow
Re: AStyle annoyances
« Reply #3 on: September 03, 2006, 12:14:01 pm »
Heh, who thinks this is a minor point should check the options from IntelliJ Idea  :D
Have FUN,
FeeL E!