https://kotlinlang.org logo
#announcements
Title
# announcements
t

t3wad

10/30/2015, 8:45 PM
Perhaps I'm missing something, but is there a "Extract Field" refactoring (like https://www.jetbrains.com/idea/help/extract-field.html) for Kotlin yet/planned? I can extract a property but not a field. I'm looking for the equivalent refactoring seen in IntelliJ with Java: String result = doSomething(), then click on "result" and "Refactor->Extract Field" and I'm left with String result; //as instance variable/field and result = doSomething()
👍 1