[Lazarus] Interesting TextMate and RedCar feature

ik idokan at gmail.com
Tue Apr 14 23:55:45 CEST 2009

Lets say uo have a method inside a big class. You renamed it from
RetriveData to GetData, now every place that uses RetriveData that belongs
to that class is changed to GetData, and it does so while keyup, so you do
not need to start looking for all of the changes or to discover that on line
100,004 it was not changed, i don't know why.

It also changes strings that uses the name, so if you have 100 debugging
line of writeln (I sometimes have), it also changes the string. but if you
change the string on your own for something else, it will not be applied in
feature changes.

I hope it is more clear.


On Wed, Apr 15, 2009 at 12:27 AM, Marco van de Voort <marcov at stack.nl>wrote:

> On Mon, Apr 13, 2009 at 03:02:28PM +0300, ik wrote:
> > RedCar and TextMate have interesting feature:
> >
> > Lets say I change the name of a function, class, variable etc...
> > So every place that reference to that symbol that I have changed, changed
> > while I type the new name according to my changes.
> >
> > It's better then choosing only to rename something using a refactoring
> > option.
> Why? I do not understand the difference, except if you want to make such
> animations?
> _______________________________________________
> Lazarus mailing list
> Lazarus at lazarus.freepascal.org
> http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20090415/ab0e16b1/attachment-0007.html>

More information about the Lazarus mailing list