Anyone knows why there is no refactor -> to con...
# announcements
m
Anyone knows why there is no refactor -> to constant (cmd+opt+c) action for Kotlin? Why can’t this just add something to companion object?:)
👍 1
s
In Kotlin constants should just be values outside the class. The shortcut part I have wondered myself also 🙂
m
sometimes it’s cool, but sometimes, you want to have constants assigned with object, like when you need to pass them around like V.GONE:)