FunctionShortcutUse this shortcut to...
Rename ⇧F6 or ⇧F6⇧F6 or ⇧F6⇧F6 or ⇧F6⇧ F6, ⇧F6 or ⇧F6⇧ F6, ⇧F6 or ⇧F6 Rename the selected file, class, field, method, etc. and change all references to it accordingly.
Change Method Signature ⌘F6 or ⌘F6⌘F6 or ⌘F6⌥⌘C or ⌥⌘C^ F6, ⌃F6 or ⌃F6^ F6, ⌃F6 or ⌃F6 Change the signature of the selected method and update all the corresponding method calls.
Move F6 or F6F6 or F6⌥⌘V or ⌥⌘VF6, F6 or F6F6, F6 or F6 Move the selected class, package or static member to another package or class and update all the corresponding references.
Copy F5 or F5F5 or F5F5, F5 or F5 Create a copy of the selected class, file or directory in the same or different directory or package.
CloneCreate a copy of the selected class in the same package.
Safe Delete ⌘⌦ or ⌘⌦⌘⌦ or ⌘⌦⌥ Delete, ⌥⌦ or ⌥⌦ Delete the selected class, method or field checking its usages.
Extract Method ⌥⌘M or ⌥⌘M⌥⌘M or ⌥⌘M⌥⌘M or ⌥⌘M^ ⌥ M, ⌃⌥M or ⌃⌥M^ ⌥ M, ⌃⌥M or ⌃⌥M Turn the selected code fragment into a method.
Extract Variable ⌥⌘V or ⌥⌘V⌥⌘V or ⌥⌘V⌥⌘L or ⌥⌘L^ ⌥ V, ⌃⌥V or ⌃⌥V^ ⌥ V, ⌃⌥V or ⌃⌥V Create a new variable and use the selected expression as its value.
Extract Field ⌥⌘F or ⌥⌘F⌥⌘F or ⌥⌘F⌥⌘F or ⌥⌘F^ ⌥ F, ⌃⌥F or ⌃⌥F Create a new field and use the selected expression as its value.
Extract Constant ⌥⌘C or ⌥⌘C⌥⌘C or ⌥⌘C^ ⌥ C, ⌃⌥C or ⌃⌥C^ ⌥ C, ⌃⌥C or ⌃⌥C Create a new constant (static final field) and use the selected expression as its value.
Extract Parameter ⌥⌘P or ⌥⌘P⌥⌘P or ⌥⌘P⌥⌘P or ⌥⌘P^ ⌥ P, ⌃⌥P or ⌃⌥P^ ⌥ P, ⌃⌥P or ⌃⌥P Turn the selected expression into a new method parameter.
Inline ⌥⌘N or ⌥⌘N⌥⌘N or ⌥⌘N⌥⌘I or ⌥⌘I^ ⌥ N, ⌃⌥N or ⌃⌥N^ ⌥ N, ⌃⌥N or ⌃⌥N Inline the selected method or variable.

See Also

Procedures:

Reference: