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

kevinherron

02/16/2017, 11:30 PM
i am so sick of the braindead kotlin refactor -> rename that just replaces any text occurrence across the entire project
💯 2
t

treelzebub

02/17/2017, 4:07 AM
kevinherron: I have always blamed that on Android Studio. Do you think it’s a Kotlin Plugin thing?
v

voddan

02/17/2017, 4:18 AM
are you sure you've toggled the "refactor only code" option?
k

kevinherron

02/17/2017, 3:04 PM
@voddan my gripe is that the code only option is not the default. the refactoring isn’t smart enough, like it is in the Java plugin, to search everywhere by default
v

voddan

02/17/2017, 3:08 PM
You statement seems contradicting itself. If the feature is incomplete, it is different from a wrong default
AFAIK rename is identical in Kotlin and Java (it uses shared code in IJ platform)
And the default can't be wrong because it remembers its last position (code+text / code-only)
Anyway, it you think something is not ergonomic, please file an issue at https://youtrack.jetbrains.com/issues/KT
3 Views