-
Notifications
You must be signed in to change notification settings - Fork 150
Rope Refactorings
gabrielelanaro edited this page Nov 24, 2010
·
8 revisions
The rope library provides a lot of tools to perform refactorings. Let's see a typical session:
Renaming in ropemacs is quite intelligent all you have to do is to use it
Renaming renames method between the same class, Moving delegates the method/attribute to another class that's a component of the first.
A pep-8 formatting utility
It analyze the project and substitutes the function where it is usable, like
pow(a,b): return a**b
a**b -> it will be substituted automatically
if a**b is in another package it will import and substitute
It will move file accordingly
Have to describe it and to tune it up by default, otherwise it's almost unuseful
Complex stuff