Copy: Copy entire file if it contains just a selected declaration
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
package bar
|
||||
|
||||
// test
|
||||
|
||||
class B
|
||||
|
||||
// test2
|
||||
@@ -0,0 +1,7 @@
|
||||
package foo
|
||||
|
||||
// test
|
||||
|
||||
class A
|
||||
|
||||
// test2
|
||||
@@ -0,0 +1,7 @@
|
||||
package foo
|
||||
|
||||
// test
|
||||
|
||||
class <caret>A
|
||||
|
||||
// test2
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"mainFile": "foo/A.kt",
|
||||
"targetPackage": "bar",
|
||||
"newName": "B"
|
||||
}
|
||||
Reference in New Issue
Block a user