Is there any way to refactor the base/common packa...
# intellij
p
Is there any way to refactor the base/common package of a pure-kotlin gradle project that's following the kotlin style-guide for directory structure (that is, no intermediate directories for the common root package). It's seemingly a very manual process to correct the package and import declarations currently.
a
I often do this by selecting the module in the project explorer, press 'delete' to delete the module, move the files, then refresh Gradle
but yes, I wish it was easier
image.png
c
rename package and the project wide search and replace to fix it. (Search for „package …“) And file a YouTrack ticket.