KT-1161 Formatter: indent parameters after function call on new line (not very beautiful but it will be refactored in future)
#KT-1161 fixed
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
fun testParam(
|
||||
<caret>) {
|
||||
}
|
||||
@@ -1,3 +1,2 @@
|
||||
fun testParam(
|
||||
<caret>) {
|
||||
fun testParam(<caret>) {
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
fun testParam(
|
||||
<caret>
|
||||
) {
|
||||
}
|
||||
+1
-1
@@ -1,3 +1,3 @@
|
||||
fun testParam(a : String, b : Int,
|
||||
<caret>) {
|
||||
<caret>) {
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
fun test() {
|
||||
testVeryLong(12,<caret>)
|
||||
}
|
||||
|
||||
// SET_TRUE: ALIGN_MULTILINE_PARAMETERS_IN_CALLS
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
fun test() {
|
||||
testVeryLong(12,
|
||||
<caret>)
|
||||
}
|
||||
|
||||
// SET_TRUE: ALIGN_MULTILINE_PARAMETERS_IN_CALLS
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
fun test() {
|
||||
testVeryLong(12,
|
||||
<caret>)
|
||||
}
|
||||
|
||||
// SET_TRUE: ALIGN_MULTILINE_PARAMETERS_IN_CALLS
|
||||
Reference in New Issue
Block a user