formatter removes indention of first comment in for block
The intended formatting:
object Foo {
for {
// take first
fst <- Some(4)
// take second
snd <- Some(2)
} println(s"${fst}${snd}")
}
After using the auto formatter:
object Foo {
for {
// take first
fst <- Some(4)
// take second
snd <- Some(2)
} println(s"${fst}${snd}")
}
Bug or feature or configurable?
Please sign in to leave a comment.
Please follow ticket on youtrack:
https://youtrack.jetbrains.com/issue/SCL-12258