Closed ArturGajowy closed 6 years ago
As in #1289 - TBH I'm not sure if that's a regression - those files haven't been formatted for a while. My expectations about how that should be formatted are as above though :)
Thanks for reporting! Related https://github.com/scalameta/scalafmt/issues/1289#issuecomment-424231110
Please reopen if you would like to take a stab at this. Further improvements to vertical alignment is not on the roadmap unless somebody volunteers to work on it.
Steps
Given code like this:
When I run scalafmt like this:
Problem
Scalafmt formats code like this:
Expectation
I would like the formatted output to look like the "given" code above.
Workaround
I tried extracting the Seq on a separate variable, same results. Format:off is my only hope.
Notes
See also https://github.com/rchain/rchain/pull/1549/files