Community
Participate
Working Groups
Build Identifier: 20110907right Refactor should rename the part and its references. In RBD, Refactor was not a choice on a package, just Rename. Refactor should bring up a Rename wizard with a checkbox Update references and a Preview button. See attached. So if Refactor on a package is an enhancement in EDT, then it's broken and should be fixed. Otherwise, the choice should be Rename rather than Refactor. Reproducible: Always Steps to Reproduce: 1.Create an EGL project with package. 2.Create a program in that package. 3.Right click on the package in the Project Explorer. 4.Select Refactor > Rename and change the name of the package. 5.This creates error in the program: IWN.VAL.3049.e 1/1 The name of the package given in the file must match the directory structure in which the file resides. The match must be exact, including case.
Created attachment 202912 [details] Refactor wizard
I think if we give Refactor as menu, then user would expect it behaves like refactor (taking care of all the references). If we do not support such behavior, we should not call it refactor.
This is a bug, not an enhancement. Refactor should be removed from the menu since it doesn't work. The enhancement would be to support refactor on a package in the future.
*** Bug 362758 has been marked as a duplicate of this bug. ***