PyCharm 2022.1 Help

Move Class/Function Dialog

The Move Class or Move Function refactoring dialog box is invoked for the classes and functions in the Python files, selected in the Project view, or opened in the editor. The import statements are updated accordingly.

Item

Description

Move class/function

This read-only field shows the name of the class or function to be moved, in the format <filename>.<class name>, or function <function name>.

To file

Specify the fully-qualified path to the target file, where the selected class or function should be moved. Click the browse button the Browse button to find the desired location.

Last modified: 17 March 2022