Inspectopedia Help

Package name does not match containing directory

Reports package directives that do not match the location of the file.

When applying fixes, "Move refactoring" defaults are used to update usages of changed declarations, namely:

  • "Search in comments and strings"

  • "Search for text occurrences"

Inspection Details

Available in:

IntelliJ IDEA 2023.3, Qodana for JVM 2023.3


Kotlin, @snapshot@

Last modified: 13 July 2023