-
Sometimes one needs to shuffle files or whole directories. While doing this, packages names and references to entities in these packages must be changed I'm doing this in a cumbersome way:
Am I missing some handy replacement for drag-n-drop feature of Intellij? Would be happy to know about alternative workflows tackling such refactorings! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
That's a great questions @susliko. I follow a pretty similar workflow to you where I mostly utilize terminal command to move things around and then refactor afterwards. The killer features that IntelliJ have here is being able to auto-change the package to match your directly structure and also fix imports. In Metals we don't have a great solution for this yet, but it's definitely something we've thought about. |
Beta Was this translation helpful? Give feedback.
That's a great questions @susliko. I follow a pretty similar workflow to you where I mostly utilize terminal command to move things around and then refactor afterwards. The killer features that IntelliJ have here is being able to auto-change the package to match your directly structure and also fix imports. In Metals we don't have a great solution for this yet, but it's definitely something we've thought about.