[Lazarus] Renaming an existing unit

Sven Barth pascaldragon at googlemail.com
Thu Apr 19 19:35:29 CEST 2012


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.

Regards,
Sven





More information about the Lazarus mailing list