Community
Participate
Working Groups
When moving a java source from one source folder to another by using the Refactor/Move... command, it is only possible to select an already existing package in the new folder or to create a new one, but usually in this case it is desired to just preserve the existing package and simple move the jave source to the equivalent package in the new source folder. It would be very nice if the default for creating a new package would be the package of the original source. Michael
But you can choose the equivalent package in the other source folder, right? I just tested that and it works. What should we improve exactly?
When the package does not already exist in the new source foulder, I have to remember in which package the actual class is defined, most of the time I have to lookup this in the original source file, which is usually is covered by the refactoring dialog/wizard, so i have to close it, copy the package name, reopen the move dialog and paste the package name into the create package dialog. When reactoring a "large" source folder into several smaller ones, a move "java source into the right location", that means into the new folder but in the same package would be very handy.