Create KotlinLineIndentProvider and delegate it to formatter

#KT-22211
This commit is contained in:
Dmitry Gridin
2020-05-19 17:06:43 +07:00
parent 0f10faabbf
commit 9d98240272
10 changed files with 128 additions and 7 deletions
@@ -0,0 +1,7 @@
fun test(i: Int) {
test(
<caret>
)
}
// SET_FALSE: CONTINUATION_INDENT_IN_ARGUMENT_LISTS
+4
View File
@@ -0,0 +1,4 @@
fun test() {
val a = 44;
<caret>
}
+3
View File
@@ -0,0 +1,3 @@
fun test() {
val a = 44;<caret>
}
@@ -0,0 +1,4 @@
fun test() {
val a = 44;
<caret>val b = 42;
}
+3
View File
@@ -0,0 +1,3 @@
fun test() {
val a = 44;<caret> val b = 42;
}