PhpStorm 8.0.0 Web Help

Function Shortcut Use this shortcut to...
Rename RenameElementShift+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 ChangeSignatureCtrl+F6Ctrl+6Ctrl+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 MoveF6F6F6F6F6Ctrl+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 CopyElementF5F5F5F5CopyElementCopyElementCopyElementF5F5F5 Create a copy of the selected class, file or directory in the same or different directory or package.
Clone CloneElementCloneElementCloneElementCloneElementCloneElementCloneElementCloneElementCloneElementCloneElementCloneElementCloneElement Create a copy of the selected class in the same package.
Safe Delete SafeDeleteAlt+DeleteAlt+DeleteAlt+DeleteSafeDeleteAlt+DeleteAlt+DeleteAlt+DeleteCommand DeleteCommand DeleteCommand Delete Delete the selected class, method or field checking its usages.
Extract Method ExtractMethodCtrl+Alt+MCtrl+Alt+MCtrl+Alt+MCtrl+Alt+MCtrl+Alt+MShift+Alt+MShift+Alt+MAlt Command MAlt Command MAlt Command M Turn the selected code fragment into a method.
Extract Variable IntroduceVariableCtrl+Alt+VShift+Alt+VCtrl+Alt+VCtrl+Alt+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 IntroduceFieldCtrl+Alt+FCtrl+Alt+FCtrl+Alt+FIntroduceFieldCtrl+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 IntroduceConstantCtrl+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 IntroduceParameterCtrl+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 InlineCtrl+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: