Is there an easy way to mass refactor packages? [message #1369752] |
Tue, 20 May 2014 18:33 |
Jeff Falkenham Messages: 13 Registered: May 2014 |
Junior Member |
|
|
So I used to be a Java Master. Then I didn't touch it for like 2 or more years.
So I'm going through the tutorials, trying to actually keep proper notes this time, and trying to pick up new features and things I may have never known about because I never needed to use them (eg: while the "basic" tutorials are boring, they do have neat tidbits of information I never knew about, such as putting underscores in numeric literals: long creditCard = 1234_1234_1234_1234;).
And as the breadth of information increases, I want to keep my sample code more organized, so I need more packages:
I want to move all 5 of my packages into the first.languagebasics package.
So "controlflow" becomes "first.languagebasics.controlflow", etc...
Is there an easy way to do this? Sure I can manually do it with 5 packages. But what about when my project gets bigger? Can you do mass refactoring of packages, and place them into a new parent?
Current solution: "refactor -> rename" all 5 packages individually.
Wanted solution: "refactor -> rename" or "refactor -> move" all 5 packages at once, in one action instead of 5 actions.
[Updated on: Tue, 20 May 2014 19:07] Report message to a moderator
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03485 seconds