How to move stringed directory to another directory?
已回答
Say I have a package named com.github.username with all my files. I want to move this stringed package to another package entirely, lets call it main. However, when I do refactor -> Move package or directory and choose main, I am left with my files in main.username and an empty stringed directory called com.github.
What I really want to do is to move the files to a new directory called main.com.github.username. How to do this while not messing up imports?
请先登录再写评论。
If you want to move the whole "com.github.username" package, just focus "com" in the project view and call move refactoring for it.