From: Joe E. <jo...@em...> - 2005-02-19 11:13:22
|
Hiroo Hayashi wrote: >Could you teach me where this feature is described in Eclipse help? > >I found > Java Development User Guide->Tasks->Refactoring->Renaming a package >but this just renames a package and is not what I'm looking for. > >Or does the way described in > Java Development User Guide->Tasks->Using the Package Explorer-> > Moving folders, packages, and file >change package and import statements? > > Well, I just tried it in Eclipse 3.0.1 and it seems to work. Here's how: You must be in the *Java* perspective. From there, you right-click on a file and select "Refactor->Move..." and it presents you with the current list of packages (like like IDEA does). There is also a checkbox to tell it to update all references to the moved files. I guess... now the only real question is how to arrange the new package structure. Since this is probably going to cause a hiccup in the CVS revisions of all of the files, we don't want to have to do this *again* in the future. Let's make sure that we get it right this time. - Joe |