[Lazarus] Interesting TextMate and RedCar feature
Alexander Klenin
klenin at gmail.com
Wed Apr 15 02:59:40 CEST 2009
2009/4/15 Mattias Gärtner <nc-gaertnma at netcologne.de>:
> in place renaming can be done for simple things like an identifier in a script
> or with a *lot* of effort in bigger scopes. IMO it can be done for live
> templates but not for real 'renames'.
I think auto-renaming makes sence for only local variables, generally
for the cases where all instances fit into the screen.
Otherwise it may come as a nasty surprise to a user.
Anyway, the linked demo seems to be about a very particular case of
auto-renaming,
Notice that identifiers are different, though with the common structure.
An actual analogue for FPC/Lazarus would be an option to rename
'TMyClass' to 'TMyNewClass', while simulatneously updating variable names lile
'FMyClass', 'AMyClass', 'myClass'.
--
Alexander S. Klenin
More information about the Lazarus
mailing list