[Lazarus] Renaming an existing unit
Jürgen Hestermann
juergen.hestermann at gmx.de
Fri Apr 20 07:15:06 CEST 2012
Sven Barth schrieb:
> On 19.04.2012 19:30, Jürgen Hestermann wrote:
>> Richard Mace schrieb:
>> > > What's the best steps for renaming a unit, that is part of an
>> existing
>> > > project?
>> > File -> Save as. And answer yes on the question whether you want to
>> > update all references.
>> > Wow, I wasn't expecting it to be that easy/cool :)
>>
>> Not so very cool IMO.
>> The question was how to *rename* a unit. But this is not a rename.
>> It seems to create a copy and you have to clean up the original version
>> yourself.
>> Though better than nothing of course.
>
> Joost did forget to mention that between the Save As and the update of
> the references dialog there is also a dialog which asks you whether
> you want to delete the original file.
>
That's good news! Was this added recently?
I remember vaguely that I did the same long ago but if I
remember right I was not asked about deleting the old version.
More information about the Lazarus
mailing list