I love the addition of trailing commas in the Kotl...
# android-studio
m
I love the addition of trailing commas in the Kotlin formatter, however they look pretty bad for
when
statements. E.g.
Copy code
when (this) {
    is SocketException,
    is UnknownHostException,
    -> ServiceException.NoNetworkException
    is SocketTimeoutException -> ServiceException.TimeOutException
    else -> this
}
Is there any way to add an indent before the
->
or something to make these look readable? There's just a tick box for it atm, no config options.