On Tue, Jan 31, 2012 at 12:32 PM, zpcspm <[email protected]> wrote: >> A *safe* find/replace would be a very important tool...
> While find/replace it is used to rename variables/class methods - it > is not refactoring per se - it is just a string operation, a technical > tool that is used to achieve a goal (this final goal being > refactoring). That's exactly my point. We want a variant of find/replace that knows that it is doing a refactoring. > Did you try rope for this? No. I'll investigate Rope before going much further with this idea. > I've never used it for such big and complex codebases like leo, but for small > pet projects (single source code file) it does the job. Leo's refactoring commands could conceivably be based on Rope, but I suspect that most of the work will involve traversing the tree and otherwise interfacing with Leo outlines. We'll see... Edward -- 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.
