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?
请先登录再写评论。
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
Did this ever get changed?
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.
omg the plugin is really old... for some reason assumed it was a lot younger