allman style brace formatting?

Hi,

I'm using idea#8823 with the scala plugin. I'm just wondering if it is possible to make the formatter format code in Allman style?

at the moment it it seems to be formatting to gnu style, where there is an indent for the braces, and another indent for the code within the braces

http://pastebin.com/m650cadb

in the above, I would much prefer lines 13 & 15 to be aligned with 12.

While I'm sure I'm not the only one using allman style :) the fact that I'm the only one complaining makes me suspect that it is possible, but I've misconfigured something. However I can't seem to find out how to enable this. Before I spend any more time searching can someone confiirm whether or not it is possible to autoformat in allman?

4 comments
Comment actions Permalink

Hello.

Yes, it's a good issue, but it demands for lots of changes in our formatter model. We'll consider it but not as top-priority task.

With best regards,
Ilya

0
Comment actions Permalink

Did this ever get changed?

0
Comment actions Permalink

We have many issues with bigger priority than formatter. So formatter won't be changed in the nearest future. Sorry for this inconveniences.

Best regards,
Alexander Podkhalyuzin.

0
Comment actions Permalink

omg the plugin is really old... for some reason assumed it was a lot younger

0

Please sign in to leave a comment.