https://kotlinlang.org logo
Title
p

pakoito

01/06/2019, 11:20 PM
the official conventions also discourage some of things we’re very opinionanted about, like favoring expression bodies and hinting Unit return types 😄
m

Mike

01/09/2019, 3:23 PM
Yes, and that’s fine. I don’t think those are part of the code style, though, and are rather intentions (from an IntelliJ perspective). Is this something that should be mentioned in the Contributing.MD? Do you use the Kotlin code style conventions in IntelliJ? Or more importantly, do you use IntelliJ or something else?
p

pakoito

01/09/2019, 3:27 PM
we use intellij's baseline with a couple of tweaks for 2 spaces everywhere IIRC
we spoke of committing them to the project, but it never came through
m

Mike

01/09/2019, 5:55 PM
I noticed the 2 spaces almost immediately. I’ve been doing Java/Kotlin work for so long that it felt ‘weird’ 😉