How to move stringed directory to another directory?

Answered

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?

0
1 comment

If you want to move the whole "com.github.username" package, just focus "com" in the project view and call move refactoring for it.

 

0

Please sign in to leave a comment.