Align when multiline at definition site instead of parameter Follow
Answered
The current "align when multiline" feature(s) only seem to have an option to align with the parenthesis (e.g:
def multiLineFoo(
x: Int = 0,
y: Int = 1,
z: Int = 2
) = new Foo
I would prefer it to align at the definition site:
def multiLineFoo(
x: Int = 0,
y: Int = 1,
z: Int = 2
) = new Foo
Can this be done now, or is this a new feature request?
Thanks!
Please sign in to leave a comment.
Hello,
Please try to disable "Align when multiline" option for "Method Declaration Parameters" section in "Settings | Editor | Code Style | Scala -Wrapping and Braces". Then they should be aligned at the definition site.