#intellij #kotlin does not seem to be able to move complete files anymore. The refactor/move dialog wants to move declarations and not the full file. Not sure in which version that changed.

Unfortunately it strips the file comment...

I often move files from one package to another to give it a better home and I want to keep the file comment.

In the documentation it is still called "Move File Dialog" https://www.jetbrains.com/help/idea/move-file-dialog.html

Any idea how to move the complete file?

Move File dialog | IntelliJ IDEA

IntelliJ IDEA Help

#intellij #kotlin

aha, drag and drop of 2 files will change the dialog to move files...