Formatter: Add wrapping support for parameter/argument lists
#KT-6032 Fixed
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
// SET_INT: CALL_PARAMETERS_WRAP = 4
|
||||
// SET_TRUE: ALIGN_MULTILINE_PARAMETERS_IN_CALLS
|
||||
// RIGHT_MARGIN: 30
|
||||
|
||||
fun foo() {
|
||||
testtest()
|
||||
|
||||
testtesttesttesttesttesttesttesttest()
|
||||
|
||||
testtest(foofoo)
|
||||
|
||||
testtesttesttest(foofoofoofoofoofoofoofoofoofoofoofoo)
|
||||
|
||||
testtest(foobar, barfoo)
|
||||
|
||||
testtesttesttest(foofoo, barbar, foobar, barfoo)
|
||||
}
|
||||
Reference in New Issue
Block a user