PyCharm 2016.2 Help

Move Refactorings

Move refactorings: basics

The Move refactorings allow you to move
classes, functions, modules,
files and directories within a project.
So doing, PyCharm automatically corrects all references to the moved symbols in the source code.

The following Move refactorings are available:

The Move File refactoring moves a file to another directory.

The Move Directory refactoring moves a directory to another directory.

The Move Class/Function refactoring moves a Python class or function to another Python file.

The Move Module Members refactoring moves top-level symbols of a Python class.

The Move Static Member refactoring moves a static method, variable, or constant from one class to another.