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:
请先登录再写评论。
Please file a bug at https://youtrack.jetbrains.com/issues/IDEA with your code style settings attached (File | Export Settings).
https://youtrack.jetbrains.com/issue/IDEA-167886