-
-
Save desophos/19d53e9019ca78bb5adc01ac660f0f1c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version = "3.4.3" | |
runner.dialect = scala3 | |
maxColumn = 80 | |
newlines.source = fold |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// original | |
for { foobar <- LongClassName(database).longMethodName() } yield doSomething(foobar) | |
// formatted | |
for { foobar <- LongClassName(database).longMethodName() } yield doSomething( | |
foobar | |
) | |
// desired output | |
for { | |
foobar <- LongClassName(database).longMethodName() | |
} yield doSomething(foobar) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment