This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 236904 - Need a way to move an entire package hierarchy
Summary: Need a way to move an entire package hierarchy
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 7.3.1
Hardware: All Linux
: P3 normal (vote)
Assignee: Ralph Ruijs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-08 21:27 UTC by david_cogen
Modified: 2013-10-17 10:23 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description david_cogen 2013-10-08 21:27:13 UTC
I have a package p.q with lots of classes p.q.c, p.q.d, p.q.e, p.q.f etc.

and a package p.r

I want to move by refactoring, the entire package sub-hierarchy q to become a subpackage of p.r. So I want to end up with:

p.r.q.c
p.r.q.d
p.r.q.e
p.r.q.f

And there is apparently No Way to do this in one step by refactoring.
And when I said "lots of classes" I meant over 100. And the only way I have found to do this by Refactor is to do a Refactor/Move on each of the classes c,d,e,f, etc individually. And this takes a LONG LONG time!
Comment 1 Jiri Prox 2013-10-17 10:23:40 UTC
Switch the project view to Tree or Collapsed tree (right click on empty space in project view) and you can move whole package hierarchy