Bug in groovy wrapping/alignment?

已回答

I've noticed some weirdness in the alignment of some of my Groovy code, so I opened Settings -> Code Style -> Groovy -> Wrapping and Braces.  When you tick the last option (List and map literals -> Align multiline named arguments) the alignment even in the example window seems to be completely wrong:


When it is unticked it looks ok:

None of the options fixes the alignment issue, for example:

0

请先登录再写评论。