Rename: Respect naming conventions in automatic variable rename

#KT-7851 Fixed
This commit is contained in:
Alexey Sedunov
2016-05-24 18:00:08 +03:00
parent 400d6b5aa0
commit e89e809dc7
8 changed files with 73 additions and 10 deletions
@@ -0,0 +1,13 @@
package test
class Bar {
}
val SOME_BAR: Bar = Bar()
val BAR: Bar = Bar()
val SOME___BAR: Bar = Bar()
val BAR: Bar = Bar()
val SOME_BAR: Bar = Bar()
@@ -0,0 +1,13 @@
package test
class Foo {
}
val SOME_FOO: Foo = Foo()
val FOO: Foo = Foo()
val some_foo: Foo = Foo()
val foo: Foo = Foo()
val SomeFoo: Foo = Foo()
@@ -0,0 +1,6 @@
{
"type": "KOTLIN_CLASS",
"mainFile": "test.kt",
"classId": "test/Foo",
"newName": "Bar"
}