Back to Intellij Community

PackageDirectoryMismatch

plugins/kotlin/code-insight/descriptions/resources-en/inspectionDescriptions/PackageDirectoryMismatch.html

2025.3-rc-2249 B
Original Source

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"