#KT-19924: Fix usability issue with extract declaration from file intention
Fix ExtractDeclaration intention name in tests Fix ExtractDeclaration intention folder and description to avoid "not found Dir URL" exception
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 extracts a top-level class or object from current file and places it in a separate one in the same package and directory.
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user