https://kotlinlang.org logo
#android
Title
# android
m

marcinmoskala

06/08/2017, 11:37 AM
But it doesn't sound like Kotlin question
m

matej

06/08/2017, 4:15 PM
marcinmoskala: Nope, I meant, the Kotlin code, when I hit CTRL+ALT+L to reformat it, it doesn't wrap statements like someFancyObject.someFunctionWhichReturnsAList().groupBy { it.some.expression.that.goes.outside.the.margin } The default line length in Android Studio is 100 characters. In my Java code, an attempt to format a method chain which spans more than 100 characters would result in a line break being added after the dot of one of the method invocations, so that it fits neatly in two lines. This doesn't happen for Kotlin code, and I don't see an option for that under File->Settings->Code Style->Kotlin