You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I have an anonymous function that returns another anonymous function, I would like to keep the arguments of each consecutive layer in a separate line. However, Scalariform moves them all into a single line, and I could not find a configuration key to change this behaviour.
Here's an example:
Before:
object Main {
def foo: Int => Int => String = {
x: Int =>
y: Int =>
"x"
}
}
After:
object Main {
def foo: Int => Int => String = { x: Int => y: Int =>
"x"
}
}
This issue may be similar to #21, but it is not a duplicate. In particular, the example from #21 is not being reformatted.
I use SBT 1.1.1 with Scala 2.12.4 and sbt-scalariform 1.8.2 with scalariform 0.2.5.
It seems that the change that breaks my example has been deliberately introduced by commit 34a7bbd.
The text was updated successfully, but these errors were encountered:
When I have an anonymous function that returns another anonymous function, I would like to keep the arguments of each consecutive layer in a separate line. However, Scalariform moves them all into a single line, and I could not find a configuration key to change this behaviour.
Here's an example:
Before:
After:
This issue may be similar to #21, but it is not a duplicate. In particular, the example from #21 is not being reformatted.
I use SBT 1.1.1 with Scala 2.12.4 and sbt-scalariform 1.8.2 with scalariform 0.2.5.
It seems that the change that breaks my example has been deliberately introduced by commit 34a7bbd.
The text was updated successfully, but these errors were encountered: