LineIndentProvider: support inside block body between { and first statement/expression

Part of #KT-22211
This commit is contained in:
Dmitry Gridin
2020-06-10 17:40:45 +07:00
parent 63a0b5bfde
commit da5b2cfb64
3 changed files with 71 additions and 24 deletions
+2 -2
View File
@@ -1,8 +1,8 @@
object Test { // TODO restore correct behavior
// some
fun test() {
<caret>
<caret>
}
}
// WITHOUT_CUSTOM_LINE_INDENT_PROVIDER
// IGNORE_FORMATTER
+1 -1
View File
@@ -4,4 +4,4 @@ object Test { // TODO restore correct behavior
}
}
// WITHOUT_CUSTOM_LINE_INDENT_PROVIDER
// IGNORE_FORMATTER