Move Declarations: Add intention which moves top-level declaration to the separate file in the same directory and package
#KT-4936 Fixed
This commit is contained in:
+13
@@ -0,0 +1,13 @@
|
||||
// File: foo/bar/myFile.kt
|
||||
package foo.bar2
|
||||
|
||||
fun test() {
|
||||
|
||||
}
|
||||
|
||||
// File: foo/bar/test.kt
|
||||
package foo.bar2
|
||||
|
||||
class Test {
|
||||
|
||||
}
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
// File: foo/bar/myFile.kt
|
||||
package foo.bar2
|
||||
|
||||
<spot>class Test</spot> {
|
||||
|
||||
}
|
||||
|
||||
fun test() {
|
||||
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
<html>
|
||||
<body>
|
||||
This intention moves top-level class or object to the separate file in the same package and directory
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user