IntelliJ IDEA 13.1.0 Web Help

Function Shortcut Use this shortcut to...
Rename Shift+F6Shift+F6Shift+F6Shift+F6Shift+F6Shift+F6Shift+F6Ctrl+RShift+Alt+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+F6Ctrl+F6Shift+Alt+CCommand F6Command F6Alt Command C Change the signature of the selected method and update all the corresponding method calls.
Move F6F6F6F6F6F6F6Ctrl+MShift+Alt+VF6F6Alt Command V Move the selected class, package or static member to another package or class and update all the corresponding references.
Copy F5F5F5F5F5F5F5F5F5F5F5F5 Create a copy of the selected class, file or directory in the same or different directory or package.
Clone CloneElementCloneElementCloneElementCloneElementCloneElementCloneElementCloneElementCloneElementCloneElementCloneElementCloneElementCloneElement Create a copy of the selected class in the same package.
Safe Delete Alt+DeleteAlt+DeleteAlt+DeleteAlt+DeleteAlt+DeleteAlt+DeleteAlt+DeleteAlt+DeleteAlt+DeleteCommand DeleteCommand DeleteCommand Delete Delete the selected class, method or field checking its usages.
Extract Method Ctrl+Alt+MCtrl+Alt+MCtrl+Alt+MCtrl+Alt+MCtrl+Alt+MCtrl+Shift+ECtrl+Alt+MShift+Alt+MShift+Alt+MAlt Command MAlt Command MAlt Command M Turn the selected code fragment into a method.
Extract Variable Ctrl+Alt+VCtrl+Alt+VShift+Alt+VCtrl+Alt+VCtrl+Alt+VCtrl+Alt+V or Ctrl+Shift+VCtrl+Alt+VShift+Alt+VShift+Alt+L or Ctrl+Alt+VAlt Command VAlt Command VAlt Command 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+FCtrl+Alt+FShift+Alt+ECtrl+Alt+FAlt Command FAlt Command FAlt Command 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+CCtrl+Alt+CShift+Alt+CCtrl+Alt+CAlt Command CAlt Command CAlt Command 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+PCtrl+Alt+PAlt Command PAlt Command PAlt Command 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+NCtrl+Alt+NShift+Alt+IAlt Command NAlt Command NAlt Command I Inline the selected method or variable.

See Also



Web Resources: