Fleshgrinder
04/23/2021, 7:50 PMcallSomeFun("first argument", buildString {
append("...")
append("...")
})
I think that this is perfectly readable, but it always turns it into something else no matter the setting (well, except the don't do anything). Currently it would turn the above into:
callSomeFun(
"first argument",
buildString {
append("...")
append("...")
},
)
😞ephemient
04/23/2021, 8:00 PMephemient
04/23/2021, 8:04 PMFleshgrinder
04/23/2021, 8:08 PMfun f(a: String, b: String) {
f("a", buildString {
append("x")
append("y")
append("z")
})
)
It always formats it like this:
fun f(a: String, b: String) {
f("arg",
builsString {
append("x")
append("y")
append("z")
})
}
Which is yet again different. 😛Fleshgrinder
04/23/2021, 8:10 PMij_kotlin_call_parameters_wrap
in .editorconfig
(and a few others) but none had any effect. I just removed the ij_kotlin_code_style_defaults = KOTLIN_OFFICIAL
to see if that helps, but to no avail.