What is the correct code style setting to change to stop Kotlin inserting new lines after
;
?
p
Paul Woitaschek
01/17/2020, 9:01 PM
I just removed that key from my keyboard
K 1
a
Alexey Belkov [JB]
01/21/2020, 8:03 AM
I don't think there is such an option. By the way, for me, the following code is not reformated by IDEA:
Copy code
fun foo() {
println(""); println("")
}
Is it reformatted for you? If not, can you please share an example of code that is reformatted? Anyway, since there is no dedicated setting to control this behavior, please consider creating a feature request at http://kotl.in/issue describing your use case. Thanks.
r
Ruckus
01/21/2020, 4:18 PM
That isn't, but something like this is:
Copy code
interface T {
val aa: Double; val ab: Double; ...
val ba: Double; val bb: Double; ...
...
}
I'll try to remember to file one tonight when I get the chance.