Auto format does bit strange indent. Is there sett...
# announcements
t
Auto format does bit strange indent. Is there settings to fix it?
k
#C0B8H786P
g
hmmm, probably IDE confused about
,
on start of the line
It’s also against Kotlin default code style
t
I understand this style is not standard, but this style is useful. I dislike commas at EOL as much as semicolon.
g
But in case of semicolon at least you can omit it, but you cannot do this with commas
I would just report an issue to Kotlin issue tracker about this
before fix I think it would be hard to use this code style
t
at #C0B8H786P, Dmitry Jemerov says IDE does not support this style.
g
Correct
That was I said
t
As a compromise, I changed my style to "move the comma to the end of the previous line only at the points where indent is needed"
g
but nothing prevents you from opening an issue onKotlin issue tracker and ask to support this
t
This way the comma's position will not be aligned, but that's the same even if we put all the commas at the end of the line.