Refactor Menu actions
Name | Function | Keyboard Shortcut |
---|---|---|
Apply Script... | Applies a previously saved list of refactorings. | |
Create Script... | Exports a list of previously done refactorings for later use. | |
History... | Displays a history of refactorings. | |
Rename... | Renames selected object (variable, method, etc...) and propagates changes to other files in project. | Alt+Shift+R |
Extract Local Variable... | Extracts selected subexpression into a new local variable. | Alt+Shift+L |
Extract Constant... | Replaces all instances of selected literal with a named constant. | Alt+C |
Extract Function... | Replaces selected statements with a call to a new function containing them. | Alt+Shift+M |
Toggle Function Definition | Moves selected function definition from a header file (in- or outside a class definition) to an implementation file, or back. | Alt+Shift+T |
Hide Method... | Makes selected method private. |