| Rename |
Shift+F6Shift+F6Shift+F6Shift+F6Shift+F6Shift+F6Ctrl+RAlt+Shift+RShift F6Shift F6Shift F6
| Rename the selected file, class, field, method, etc. and change all references to it accordingly. |
| Change Method Signature |
Ctrl+F6Ctrl+F6Ctrl+6Ctrl+F6Ctrl+F6Ctrl+F6Ctrl+F6Alt+Shift+CMeta F6Meta F6Meta Alt C
| Change the signature of the selected method and update all the corresponding method calls. |
| Move |
F6F6F6F6F6F6Ctrl+MAlt+Shift+VF6F6Meta Alt V
| Move the selected class, package or static member to another package or class and update
all the corresponding references.
|
| Copy |
F5F5F5F5F5F5F5F5F5F5F5
| Create a copy of the selected class, file or directory in the same or different directory or package. |
| Clone |
Shift+F5Shift+F5Shift+F5Shift+F5Shift+F5Shift+F5Shift+F5Shift+F5Shift F5Shift F5Shift F5
| Create a copy of the selected class in the same package. |
| Safe Delete |
Alt+DeleteAlt+DeleteAlt+DeleteAlt+DeleteAlt+DeleteAlt+DeleteAlt+DeleteAlt+DeleteMeta DeleteMeta DeleteMeta Delete
| Delete the selected class, method or field checking its usages. |
| Extract Method |
Ctrl+Alt+MCtrl+Alt+MCtrl+Alt+MCtrl+Alt+MCtrl+Alt+MCtrl+Alt+MAlt+Shift+MAlt+Shift+MMeta Alt MMeta Alt MMeta Alt M
| Turn the selected code fragment into a method. |
| Extract Variable |
Ctrl+Alt+VCtrl+Alt+VAlt+Shift+VCtrl+Alt+VCtrl+Alt+VCtrl+Alt+VAlt+Shift+VAlt+Shift+L or Ctrl+Alt+VMeta Alt VMeta Alt VMeta Alt L
| Create a new variable and use the selected expression as its value. |
| Extract Field |
Ctrl+Alt+FCtrl+Alt+FCtrl+Alt+FCtrl+Alt+FCtrl+Alt+FCtrl+Alt+FAlt+Shift+ECtrl+Alt+FMeta Alt FMeta Alt FMeta Alt F
| Create a new field and use the selected expression as its value. |
| Extract Constant |
Ctrl+Alt+CCtrl+Alt+CCtrl+Alt+CCtrl+Alt+CCtrl+Alt+CCtrl+Alt+CAlt+Shift+CCtrl+Alt+CMeta Alt CMeta Alt CMeta Alt C
| Create a new constant (static final field) and use the selected expression as its value. |
| Extract Parameter |
Ctrl+Alt+PCtrl+Alt+PCtrl+Alt+PCtrl+Alt+PCtrl+Alt+PCtrl+Alt+PCtrl+Alt+PCtrl+Alt+PMeta Alt PMeta Alt PMeta Alt P
| Turn the selected expression into a new method parameter. |
| Inline |
Ctrl+Alt+NCtrl+Alt+NCtrl+Alt+NCtrl+Alt+NCtrl+Alt+NCtrl+Alt+NCtrl+Alt+NAlt+Shift+IMeta Alt NMeta Alt NMeta Alt I
| Inline the selected method or variable. |