Refactoring
| Function | Shortcut | Description |
|---|---|---|
| Rename | N/A | Rename the selected file, class, field, method, etc. and change all references to it accordingly. |
| Change Method Signature | N/A | Change the signature of the selected method and update all the corresponding method calls. |
| Move | N/A | Move the selected class, package or static member to another package or class and update all the corresponding references. |
| Copy | N/A | Create a copy of the selected class, file or directory in the same or different directory or package. |
| Clone | Create a copy of the selected class in the same package. | |
| Safe Delete | N/A | Delete the selected class, method or field checking its usages. |
| Extract Method | N/A | Turn the selected code fragment into a method. |
| Extract Variable | N/A | Create a new variable and use the selected expression as its value. |
| Extract Field | N/A | Create a new field and use the selected expression as its value. |
| Extract Constant | N/A | Create a new constant (static final field) and use the selected expression as its value. |
| Extract Parameter | N/A | Turn the selected expression into a new method parameter. |
| Inline | N/A | Inline the selected method or variable. |
Last modified: 10 January 2018