How to automatically package the classes in Intellij IDEA?
Answered
He poured himself a strange project and faced the problem that the classes do not have the packages in which they are located. Is there any tool in Intellij IDEA that will automatically put the packages, and then dozens of classes and put them in hand is not an option. It seems like when you create a file, IDEA automatically assigns a package on top of the class.
Please sign in to leave a comment.
Use Refactor | Move to move classes between packages. If physical package doesn't exist, use package prefix feature.