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:
Nikolay Krasko
2012-04-04 14:05:51 +04:00
parent 5ffbc87b3f
commit 0d1767fbf1
23 changed files with 289 additions and 48 deletions
@@ -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,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
@@ -0,0 +1,6 @@
fun test() {
testVeryLong(12,
<caret>)
}
// SET_TRUE: ALIGN_MULTILINE_PARAMETERS_IN_CALLS
@@ -0,0 +1,6 @@
fun test() {
testVeryLong(12,
<caret>)
}
// SET_TRUE: ALIGN_MULTILINE_PARAMETERS_IN_CALLS