Extract subclass
The Extract Subclass refactoring enables extracting certain members of a class into a subclass.
Extract a subclass
Select the class members that you want to extract into a subclass.
Choose
from the main menu or the context menu.In the dialog that opens, set the name of the new subclass and select the members that you want to move there.
Click Preview to check the refactoring result before proceeding. CLion will notify you in case of problems.
Click Extract to proceed with the refactoring.
Last modified: 15 September 2023