On Tue, Apr 22, 2008 at 07:47:56AM -0700, Edward K. Ream wrote:
> The following is just "thinking out loud".  Anyone (including Kayvan)
> should feel free to ignore it :-)  Somehow this project has got my
> attention.  I like puzzles, and besides, why should Kayvan have all
> the fun :-)

The more, the merrier! :-)

> In conclusion, brm offers exactly two refactorings, which is
> underwhelming.  And I kinda suspect that Leo's own undo can take the
> place of the brm undo.  On the plus side, it might be possible to
> create a prototype for Leo + brm in an hour or two with @button nodes.

I don't think that's quite right.

Looking in the ide-integration directory, there is bike.vim which defines
the following commands:

"   BikeShowScope
"       Show current scope.  Sample of usage:
"         autocmd CursorHold *.py BikeShowScope
"   <range> BikeShowType
"       Show selected expression type.  The range is ignored, '<,'> is always
"       used.  Use this in visual block mode.
"   BikeFindRefs
"       Finds all references of the function/method/class defined in current
"       line.
"   BikeFindDef
"       Finds the definition of the function/method/class under cursor.
"   BikeRename
"       Renames the function/method/class defined in current line.  Updates
"       all references in all files known (i.e. imported) to Bicycle Repair
"       Man.
"   <range> BikeExtract
"       Extracts a part of the function/method into a new function/method.
"       The range is ignored, '<,'> is always used.  Use this in visual keUndo
"       Globally undoes the previous refactoring.
"   BikeUndo
"       Globally undoes the previous refactoring.

In my searches, I came across something else:

http://rope.sourceforge.net/

And its googlegroup discussions: http://groups.google.com/group/rope-dev

I wonder if this might be a better refactoring library to integrate
into LEO, mostly because bicycle-repairman seems to be an abandoned
project and rope is an active one?

                                ---Kayvan

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to