Move: Implement inspection which reports mismatch between package directive and containing directory
This commit is contained in:
+10
@@ -0,0 +1,10 @@
|
||||
// File: foo/bar/test.kt
|
||||
<spot>package foo.bar</spot>
|
||||
|
||||
import bar.foo.OtherClass
|
||||
|
||||
class MyClass: OtherClass {
|
||||
fun myFun() {
|
||||
|
||||
}
|
||||
}
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
// File: bar/foo/test.kt
|
||||
<spot>package foo.bar</spot>
|
||||
|
||||
import bar.foo.OtherClass
|
||||
|
||||
class MyClass: OtherClass {
|
||||
fun myFun() {
|
||||
|
||||
}
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
<html>
|
||||
<body>
|
||||
This intention moves file to the directory matching its package directive.
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user