https://kotlinlang.org logo
a

asdf asdf

06/17/2023, 4:27 PM
Is there a way to set intellij to generate property initializers instead of getters when implementing interface properties?
youtrack 1
a

Anton Mefodichev

06/19/2023, 9:52 AM
Hello, @asdf asdf! Can you please provide a little bit more context information - what do you want to do? Thank you!
s

Sam

06/19/2023, 10:48 AM
I guess the idea is that this:
Should result in this:
(instead of this)
I would like that too! The current default of generating a getter is almost never what I want
thank you color 1
4
a

Anton Mefodichev

06/22/2023, 10:17 AM
Thank you! I have created a ticket to KTIJ project - KTIJ-25975
👍 1