PyCharm 2017.3 Help

Extract Superclass Dialog

Refactor | Extract | Superclass

Extract superclass fromThis read-only field displays the name of the class, from which a superclass should be extracted.
Superclass nameIn this text field, type the Superclass name.
Directory for new classIn this text field, specify the path to the target directory, where the new class will be stored.

Use code completion while you type the path:

rm ExtractSuperclass

You can also click the ellipsis button, or press Shift+Enter, and select the desired path in the Select Path dialog box.

Members to form superclassThis area displays the list of members detected in the original class. Select the checkboxes next to the members to be included in the new superclass.
Last modified: 28 March 2018

See Also