Rename: Respect naming conventions in automatic variable rename
#KT-7851 Fixed
This commit is contained in:
+13
@@ -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()
|
||||
+13
@@ -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()
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"type": "KOTLIN_CLASS",
|
||||
"mainFile": "test.kt",
|
||||
"classId": "test/Foo",
|
||||
"newName": "Bar"
|
||||
}
|
||||
Reference in New Issue
Block a user