Refactoring
Function | Shortcut | Description |
---|---|---|
Refactor This... | CtrlAltShift0T | Choose the desired refactoring for the selected symbol or code fragment. |
Rename | ShiftF6 | Rename the selected file, class, field, method, etc. and change all references to it accordingly. |
Change Signature | CtrlF6 | Change the signature of the selected method and update all the corresponding method calls. |
Move | F6 | Move the selected class, package or static member to another package or class and update all the corresponding references. |
Copy | F5 | Create a copy of the selected class, file or directory in the same or different directory or package. |
Safe Delete | AltDelete | Delete the selected class, method or field checking its usages. |
Extract Method | CtrlAlt0M | Turn the selected code fragment into a method. |
Introduce Variable | CtrlAlt0V | Create a new variable and use the selected expression as its value. |
Introduce Constant | CtrlAlt0C | Create a new constant (static final field) and use the selected expression as its value. |
Introduce Parameter | CtrlAlt0P | Turn the selected expression into a new method parameter. |
Extact Define | CtrlAlt0D | Define symbol or expression as macros |
Extract typedef | CtrlAlt0K | Define symbol using the |
Inline | CtrlAlt0N | Inline the selected method or variable. |
Thanks for your feedback!