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
Adam S
07/03/2024, 4:55 PM
I often do this by selecting the module in the project explorer, press 'delete' to delete the module, move the files, then refresh Gradle
Adam S
07/03/2024, 4:55 PM
but yes, I wish it was easier
Adam S
07/03/2024, 4:55 PM
image.png
c
christophsturm
07/04/2024, 9:12 AM
rename package and the project wide search and replace to fix it. (Search for „package …“) And file a YouTrack ticket.