Community
Participate
Working Groups
When you rename a .java file, the rename wizard provides some smarts to fix JavaDoc comments, constructors, etc. One of my typical patterns is to copy a .java file and then rename it (to use it as the basis for a new class). Unfortunately this doesn't work very well. The copy operation performs an implicit rename, fixing up the constructors, class name (and other things?). But it doesn't know enough to do some of the more advanced rename tricks (e.g. fixing JavaDoc comments). When I rename the CopyOfMyClass.java file to the name that I really want, I'm unable to use the JavaDoc rewrite feature of the rename wizard, since the JavaDoc still refers to the original class (MyClass), not CopyOfMyClass. It would be nice if there were some better way to do a copy and rename. Perhaps the rename wizard could have a copy checkbox? (Tested against 20011219 build)
Peter, i think fixing bug 5219 will help you here if so, i will keep this bug as a duplicate. if not, please comment and maybe reopen *** This bug has been marked as a duplicate of 5219 ***