Move: Add intention to change file package without moving it physically

This commit is contained in:
Alexey Sedunov
2015-04-28 12:34:58 +03:00
parent 6ee59a06dd
commit 8879166f53
43 changed files with 498 additions and 42 deletions
@@ -0,0 +1,7 @@
<spot>package bar.foo</spot>
class MyClass: OtherClass {
fun myFun() {
}
}
@@ -0,0 +1,9 @@
<spot>package foo.bar</spot>
import bar.foo.OtherClass
class MyClass: OtherClass {
fun myFun() {
}
}
@@ -0,0 +1,6 @@
<html>
<body>
This intention changes qualified package name of the current file without moving the file itself.
All references and import directives are updated accordingly.
</body>
</html>