Change file's package to match directory: add space after package keyword if needed
#KT-39604 Fixed
This commit is contained in:
committed by
Ilya Kirillov
parent
1ce39222e3
commit
1188f4617a
+3
@@ -0,0 +1,3 @@
|
||||
package com.example
|
||||
|
||||
class Foo
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
<caret>package
|
||||
|
||||
class Foo
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"mainFile": "com/example/test.kt",
|
||||
"inspectionClass": "org.jetbrains.kotlin.idea.refactoring.move.changePackage.PackageDirectoryMismatchInspection",
|
||||
"fix": "Change file's package to 'com.example'"
|
||||
}
|
||||
Reference in New Issue
Block a user