Watch, Follow, &
Connect with Us
Public Report
Report From: Delphi-BCB/IDE/Refactoring/Rename    [ Add a report in this area ]  
Report #:  84841   Status: Open
Add "Rename Unit" refactoring
Project:  Delphi Build #:  14.0.3593.25826
Version:    14.0 Submitted By:   Andreas Mross
Report Type:  Suggestion / Enhancement Request Date Reported:  5/23/2010 9:48:55 PM
Severity:    Commonly encountered problem Last Updated: 3/20/2012 2:24:39 AM
Platform:    All platforms Internal Tracking #:   281039
Resolution: None (Resolution Comments) Resolved in Build: : None
Duplicate of:  None
Voting and Rating
Overall Rating: No Ratings Yet
0.00 out of 5
Total Votes: 5
Description
Just what it says. A way to point at a Unit and say "Rename the unit to X" and everything will compile correctly.
Steps to Reproduce:
None
Workarounds
You can do "save as", but that doesn't fix up any references to that Unit in the "Uses" clause. You have to fix them by hand.
Attachment
None
Comments

Jeroen Pluimers at 10/30/2010 4:29:35 AM -
Note that if you rename the file in the project manager, the unit will be renamed (but the rename will not be reflected accross the rest of your project).

Markus Humm at 1/14/2013 12:08:17 AM -
That's sort of the same issue. It should ask if the project shall be updated as well and then rename all references in other units.

Server Response from: ETNACODE01