| Summary: | [reorg] Copy & Paste a package with subpackages | ||
|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Marvin Fröhlich <eclipse> |
| Component: | UI | Assignee: | JDT-UI-Inbox <jdt-ui-inbox> |
| Status: | ASSIGNED --- | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | annanyearian, markus.kell.r |
| Version: | 3.6 | Keywords: | helpwanted |
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | stalebug | ||
|
Description
Marvin Fröhlich
We won't choose the new name automatically, but I agree that the proposed name could be improved in this situation. But in your example, you're pasting p1 into p2, so the proposed name should be "com.mycomp.p2.p1" (not ...p1.p2). In general: "<destination_package_name>.<source_package_name_without_common_prefix>". A good quality patch would speed up the resolution of this bug. See org.eclipse.jdt.internal.corext.refactoring.reorg.ReorgPolicyFactory.NewNameProposer.createNewName(IPackageFragment, IPackageFragmentRoot). You're right about "com.mycomp.p2.p1". I will see, if I can find the time to checkout the eclipse source and provide a patch. This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie. Nothing has changed here. Bug still persists. This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie. Nothing has changed here. Bug still persists. |