Skip to content

Commit 724d2c4

Browse files
committed
Document how to use Global Move refactoring
1 parent 0c47c69 commit 724d2c4

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

doc/pymode.txt

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -613,14 +613,24 @@ code to call it instead.
613613
let g:pymode_rope_use_function_bind = '<C-c>ru'
614614
615615
616-
Move method/fields ~
616+
Move refactoring ~
617617
*pymode-rope-move*
618618

619+
Moving method/fields
620+
619621
It happens when you perform move refactoring on a method of a class. In this
620622
refactoring, a method of a class is moved to the class of one of its
621623
attributes. The old method will call the new method. If you want to change all
622624
of the occurrences of the old method to use the new method you can inline it
623625
afterwards.
626+
627+
Moving global variable/class/function into another module
628+
629+
It happens when you perform move refactoring on global variable/class/function.
630+
In this refactoring, the object being refactored will be moved to a destination
631+
module. All references to the object being moved will be updated to point to
632+
the new location.
633+
624634
>
625635
let g:pymode_rope_move_bind = '<C-c>rv'
626636

0 commit comments

Comments
 (0)