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?

0
1 comment
Avatar
Permanently deleted user

Please follow ticket on youtrack:
https://youtrack.jetbrains.com/issue/SCL-12258

0

Please sign in to leave a comment.