PhpStorm 8.0.0 Web Help

Function Shortcut Use this shortcut to...
Enter EditorEnterEnterEnterEnterEnterEnterEnterEnterEnterEnterEnter Depending on the context:
  • In a lookup list: select an item.
  • In the editor: enter a new line and set the caret at its beginning.
Tab EditorChooseLookupItemReplaceTabTabTabTabTabTabTabTabTabTab In the editor:
  • With selection: indent selected lines.
  • Without selection: insert a tab symbol (or corresponding number of space characters).
In a lookup list:
  • No code after the caret: select an item.
  • Some code after the caret: select an item and substitute the code after the caret with it.
Delete $DeleteDeleteDeleteDeleteDelete or Ctrl+DDeleteDeleteDeleteDelete, Backspace or Command BackspaceDelete, Backspace or Command BackspaceDelete, Backspace or Command Backspace Depending on the context:
  • In the editor: delete selected symbol/block.
  • In a usage view: exclude a selected item.
  • In other views: remove selected items.
Backspace EditorBackSpaceBackspace or Shift+BackspaceBackspace or Shift+BackspaceBackspace or Shift+BackspaceBackspace or Shift+BackspaceBackspace or Shift+BackspaceBackspace or Shift+BackspaceBackspace or Shift+BackspaceBackspace or Shift BackspaceBackspace or Shift BackspaceBackspace or Shift Backspace Delete a character to the left of the caret.
Undo $UndoCtrl+Z or Alt+BackspaceCtrl+Z or Alt+BackspaceCtrl+Z or Alt+BackspaceCtrl+Shift+Minus or Ctrl+SlashCtrl+ZCtrl+Z or Alt+BackspaceCtrl+ZCommand ZCommand ZCommand Z Undo last operation.
Redo $RedoCtrl+Shift+Z or Shift+Alt+BackspaceCtrl+Shift+Z or Shift+Alt+BackspaceCtrl+Shift+Z or Shift+Alt+BackspaceCtrl+Shift+Z or Shift+Alt+MinusCtrl+Y or Ctrl+Shift+ZCtrl+Shift+Z, Shift+Alt+Backspace or Ctrl+YCtrl+YShift Command Z or Shift Alt BackspaceShift Command Z or Shift Alt BackspaceShift Command Z Redo last undone operation.
Cut $CutCtrl+X or Shift+DeleteCtrl+X or Shift+DeleteCtrl+X or Shift+DeleteShift+Delete or Alt+XCtrl+X or Shift+DeleteCtrl+X or Shift+DeleteCtrl+X or Shift+DeleteCommand X or Shift DeleteCommand X or Shift DeleteCommand X or Shift Delete Cut a current line or a selected code block to the Clipboard.
Copy $CopyCtrl+C or Ctrl+InsertCtrl+C or Ctrl+InsertCtrl+C or Ctrl+InsertCtrl+Insert, Alt+C or Escape, WCtrl+C or Ctrl+InsertCtrl+C or Ctrl+InsertCtrl+C or Ctrl+InsertCommand C or Command InsertCommand C or Command InsertCommand C or Command Insert Copy a current line or a selected code block to the Clipboard.
Paste $PasteCtrl+V or Shift+InsertCtrl+V or Shift+InsertCtrl+V or Shift+InsertAlt+P, Shift+Insert or Ctrl+YCtrl+V or Shift+InsertCtrl+V or Shift+InsertCtrl+V or Shift+InsertCommand V or Shift InsertCommand V or Shift InsertCommand V or Shift Insert Paste from the Clipboard to the caret location.
Paste from History PasteMultipleCtrl+Shift+V or Ctrl+Shift+InsertCtrl+Shift+V or Ctrl+Shift+InsertCtrl+Shift+V or Ctrl+Shift+InsertAlt+YCtrl+Shift+V or Ctrl+Shift+InsertCtrl+Shift+V or Ctrl+Shift+InsertCtrl+Shift+V or Ctrl+Shift+InsertShift Command V or Shift Command InsertShift Command V or Shift Command InsertShift Command V or Shift Command Insert Paste selected entry from the Clipboard to the caret location.
Up EditorUpUpUpUpUp or Ctrl+PUpUpUpUp or Control PUp or Control PUp or Control P Move the caret one line up.
Up with Selection EditorUpWithSelectionShift+UpShift+UpShift+UpShift+UpShift+UpShift+UpShift+UpShift UpShift UpShift Up Move the caret one line up selecting the text.
Down EditorDownDownDownDownDown or Ctrl+NDownDownDownDown or Control NDown or Control NDown or Control N Move the caret one line down.
Down with Selection EditorDownWithSelectionShift+DownShift+DownShift+DownShift+DownShift+DownShift+DownShift+DownShift DownShift DownShift Down Move the caret one line down selecting the text.
Left EditorLeftLeftLeftLeftLeft or Ctrl+BLeftLeftLeftLeft or Control BLeft or Control BLeft or Control B Move the caret one character to the left.
Left with Selection EditorLeftWithSelectionShift+LeftShift+LeftShift+LeftShift+LeftShift+LeftShift+LeftShift+LeftShift LeftShift LeftShift Left Move the caret one character to the left selecting the text.
Right EditorRightRightRightRightRight or Ctrl+FRightRightRightRight or Control FRight or Control FRight or Control F Move the caret one character to the right.
Right with Selection EditorRightWithSelectionShift+RightShift+RightShift+RightShift+RightShift+RightShift+RightShift+RightShift RightShift RightShift Right Move the caret one character to the right selecting the text.
Go to Page Bottom EditorMoveToPageBottomCtrl+Page DownCtrl+Page DownCtrl+Page DownCtrl+Page DownCtrl+Page DownShift+Alt+Page DownEditorMoveToPageBottomCommand Page DownCommand Page DownCommand Page Down Move the caret down to the page bottom.
Go to Page Bottom with Selection EditorMoveToPageBottomWithSelectionCtrl+Shift+Page DownCtrl+Shift+Page DownCtrl+Shift+Page DownCtrl+Shift+Page DownCtrl+Shift+Page DownCtrl+Shift+Page DownCtrl+Shift+Page DownShift Command Page DownShift Command Page DownShift Command Page Down Move the caret down to the page bottom, selecting the text.
Go to Page Top EditorMoveToPageTopCtrl+Page UpCtrl+Page UpCtrl+Page UpCtrl+Page UpCtrl+Page UpShift+Alt+Page UpEditorMoveToPageTopCommand Page UpCommand Page UpCommand Page Up Move the caret up to the page top.
Go to Page Top with Selection EditorMoveToPageTopWithSelectionCtrl+Shift+Page UpCtrl+Shift+Page UpCtrl+Shift+Page UpCtrl+Shift+Page UpCtrl+Shift+Page UpCtrl+Shift+Page UpCtrl+Shift+Page UpShift Command Page UpShift Command Page UpShift Command Page Up Move the caret up to the page bottom, selecting the text.
Page Down EditorPageDownPage DownPage DownPage DownPage Down or Ctrl+VPage DownPage DownPage DownPage DownPage DownPage Down Move the caret one page down.
Page Down with Selection EditorPageDownWithSelectionShift+Page DownShift+Page DownShift+Page DownShift+Page DownShift+Page DownShift+Page DownShift+Page DownShift Page DownShift Page DownShift Page Down Move the caret one page down, selecting the text.
Page Up EditorPageUpPage UpPage UpPage UpPage Up, Ctrl+Z or Alt+VPage UpPage UpPage UpPage UpPage UpPage Up Move the caret one page up.
Page Up with Selection EditorPageUpWithSelectionShift+Page UpShift+Page UpShift+Page UpShift+Page UpShift+Page UpShift+Page UpShift+Page UpShift Page UpShift Page UpShift Page Up Move the caret one page up, selecting the text.
Scroll Down EditorScrollDownCtrl+DownCtrl+DownCtrl+DownCtrl+DownCtrl+DownCtrl+DownCtrl+DownEditorScrollDownEditorScrollDownEditorScrollDown Scroll the text one line down.
Scroll to Center EditorScrollToCenterCtrl+MCtrl+MCtrl+MCtrl+MCtrl+MEditorScrollToCenterCtrl+MEditorScrollToCenterEditorScrollToCenterEditorScrollToCenter Scroll a line at caret to the center of the screen.
Scroll Up EditorScrollUpCtrl+UpCtrl+UpCtrl+UpCtrl+UpCtrl+UpCtrl+UpCtrl+UpEditorScrollUpEditorScrollUpEditorScrollUp Scroll the text one line up.
Move to Line End EditorLineEndEndEndEndEnd or Ctrl+EEndEndEndEnd, Command Right or Control EEnd, Command Right or Control EEnd, Command Right or Control E Move the caret to the end of line.
Move to Line End with Selection EditorLineEndWithSelectionShift+EndShift+EndShift+EndShift+EndShift+EndShift+EndShift+EndShift End or Shift Command RightShift End or Shift Command RightShift End or Shift Command Right Move the caret to the end of line, selecting the text.
Move to Line Start EditorLineStartHomeHomeHomeHome, Ctrl+A or Alt+MHomeHomeHomeHome, Command Left or Control AHome, Command Left or Control AHome, Command Left or Control A Move the caret to the beginning of line.
Move to Line Start with Selection EditorLineStartWithSelectionShift+HomeShift+HomeShift+HomeShift+HomeShift+HomeShift+HomeShift+HomeShift Home or Shift Command LeftShift Home or Shift Command LeftShift Home or Shift Command Left Move the caret to the beginning of line, selecting the text.
Move to Next Word EditorNextWordCtrl+RightCtrl+RightCtrl+RightCtrl+Right, Alt+F or Escape, Ctrl+FCtrl+RightCtrl+RightCtrl+RightAlt RightAlt RightAlt Right Move the caret to the next word.
Move to Next Word with Selection EditorNextWordWithSelectionCtrl+Shift+RightCtrl+Shift+RightCtrl+Shift+RightCtrl+Shift+RightCtrl+Shift+RightCtrl+Shift+RightShift+Alt+Right or Ctrl+Shift+RightShift Alt RightShift Alt RightShift Alt Right Move the caret to the next word, selecting it.
Move to Previous Word EditorPreviousWordCtrl+LeftCtrl+LeftCtrl+LeftCtrl+Left, Alt+B or Escape, Ctrl+BCtrl+LeftCtrl+LeftCtrl+LeftAlt LeftAlt LeftAlt Left Move the caret to the previous word.
Move to Previous Word with Selection EditorPreviousWordWithSelectionCtrl+Shift+LeftCtrl+Shift+LeftCtrl+Shift+LeftCtrl+Shift+LeftCtrl+Shift+LeftCtrl+Shift+LeftShift+Alt+Left or Ctrl+Shift+LeftShift Alt LeftShift Alt LeftShift Alt Left Move the caret to the previous word, selecting it.
Move to Text End EditorTextEndCtrl+EndCtrl+EndCtrl+EndCtrl+End or Shift+Alt+PeriodCtrl+EndCtrl+EndCtrl+EndCommand EndCommand EndCommand End Move the caret to the end of text.
Move to Text End with Selection EditorTextEndWithSelectionCtrl+Shift+EndCtrl+Shift+EndCtrl+Shift+EndCtrl+Shift+EndCtrl+Shift+EndCtrl+Shift+EndCtrl+Shift+EndShift Command EndShift Command EndShift Command End Move the caret to the end of text, selecting it.
Move to Text Start EditorTextStartCtrl+HomeCtrl+HomeCtrl+HomeCtrl+Home, Shift+Alt+Comma or Escape, CommaCtrl+HomeCtrl+HomeCtrl+HomeCommand HomeCommand HomeCommand Home Move the caret to the beginning of text.
Move to Text Start with Selection. EditorTextStartWithSelectionCtrl+Shift+HomeCtrl+Shift+HomeCtrl+Shift+HomeCtrl+Shift+HomeCtrl+Shift+HomeCtrl+Shift+HomeCtrl+Shift+HomeShift Command HomeShift Command HomeShift Command Home Move the caret to the beginning of text, selecting it.
Select All $SelectAllCtrl+ACtrl+ACtrl+ACtrl+X, HCtrl+ACtrl+ACtrl+ACommand ACommand ACommand A Select the entire text opened in the editor.
Delete Line at Caret EditorDeleteLineCtrl+YCtrl+YCtrl+YEditorDeleteLineCtrl+Shift+LCtrl+ECtrl+DCommand BackspaceCommand BackspaceCommand D Delete the line where the caret is currently located.
Delete to Word End EditorDeleteToWordEndCtrl+DeleteCtrl+DeleteCtrl+DeleteCtrl+DeleteCtrl+DeleteCtrl+DeleteCtrl+DeleteAlt DeleteAlt DeleteCommand Delete Delete the word starting from the current caret location up to the word end.
Delete to Word Start EditorDeleteToWordStartCtrl+BackspaceCtrl+BackspaceCtrl+BackspaceCtrl+Backspace, Alt+Backspace or Escape, BackspaceCtrl+BackspaceCtrl+BackspaceCtrl+BackspaceAlt BackspaceAlt BackspaceCommand Backspace Delete the word starting from the current caret location up to the word start.
Toggle Insert/Overwrite UsageView.IncludeInsertInsertInsertInsertInsertInsertInsertShift BackspaceShift BackspaceShift Backspace Toggle insert/overwrite modes.
Duplicate Line or Block EditorDuplicateCtrl+DCtrl+DCtrl+DMeta+DCtrl+DCtrl+D, Ctrl+Shift+Down or Ctrl+Shift+UpEditorDuplicateCommand DCommand DCommand D Duplicate selected block or the line at the caret.
Toggle Case EditorToggleCaseCtrl+Shift+UCtrl+Shift+UCtrl+Shift+UCtrl+Shift+UCtrl+Shift+UCtrl+U, SCtrl+Shift+U, Ctrl+Shift+X or Ctrl+Shift+YShift Command UShift Command UShift Command X or Shift Command Y Toggle case of the selected text block.
Move to Code Block End EditorCodeBlockEndCtrl+Close BracketCtrl+Close BracketCtrl+Close BracketCtrl+Close Bracket, Ctrl+Alt+Close Bracket or Ctrl+Alt+BCtrl+Close Bracket or Ctrl+AsteriskCtrl+Close BracketCtrl+Close Bracket or Ctrl+Shift+PAlt Command Close BracketAlt Command Close BracketControl Close Bracket or Control Shift P Move the caret to the current code block end, highlighting the block limits.
Move to Code Block End with Selection EditorCodeBlockEndWithSelectionCtrl+Shift+Close BracketCtrl+Shift+Close BracketCtrl+Shift+Close BracketCtrl+Shift+Close Bracket or Ctrl+Shift+Alt+FCtrl+Shift+Close BracketCtrl+Shift+Close BracketCtrl+Shift+Close BracketShift Alt Command Close BracketShift Alt Command Close BracketShift Alt Command Close Bracket Move the caret to the current code block end, selecting the code beginning from the initial caret location.
Move to Code Block Start EditorCodeBlockStartCtrl+Open BracketCtrl+Open BracketCtrl+Open BracketCtrl+Open Bracket, Ctrl+Alt+Open Bracket or Ctrl+Alt+FCtrl+Open BracketCtrl+Open BracketCtrl+Open BracketAlt Command Open BracketAlt Command Open BracketAlt Command Open Bracket Move the caret to the current code block start, highlighting the block limits.
Move to Code Block Start with Selection EditorCodeBlockStartWithSelectionCtrl+Shift+Open BracketCtrl+Shift+Open BracketCtrl+Shift+Open BracketCtrl+Shift+Open Bracket or Ctrl+Shift+Alt+BCtrl+Shift+Open BracketCtrl+Shift+Open BracketCtrl+Shift+Open BracketShift Alt Command Open BracketShift Alt Command Open BracketShift Alt Command Open Bracket Move the caret to the current code block start, selecting the code beginning from the initial caret location.
Start New Line EditorStartNewLineShift+EnterShift+EnterShift+EnterShift+EnterShift+EnterShift+EnterShift+EnterShift EnterShift EnterShift Enter Start a new line after the current one positioning the caret in accordance with the current indentation level.
Start New Line Before Current One EditorStartNewLineBeforeCtrl+Alt+EnterCtrl+Alt+EnterCtrl+Alt+EnterCtrl+Alt+EnterCtrl+Alt+EnterCtrl+Alt+EnterCtrl+Alt+EnterAlt Command EnterAlt Command EnterAlt Command Enter Start a new line before the current one.
Join Lines EditorJoinLinesCtrl+Shift+JCtrl+Shift+JCtrl+Shift+JCtrl+Shift+JCtrl+Shift+JCtrl+Shift+JCtrl+Shift+JControl Shift JControl Shift JControl Shift J Concatenate the selected lines into one or concatenate the line where the caret is currently located with the next line.
Split Line EditorSplitLineCtrl+EnterCtrl+EnterCtrl+EnterCtrl+OCtrl+EnterCtrl+EnterCtrl+EnterCommand EnterCommand EnterCommand Enter Split the selected line at the point where the caret is located, leaving the caret at the end of the first line.
Select Word at Caret EditorSelectWordCtrl+WCtrl+WCtrl+WCtrl+Alt+WCtrl+WShift+Alt+PeriodShift+Alt+UpAlt UpAlt UpControl Shift Up Select successively increasing code blocks starting from the current caret location.
Unselect Word at Caret EditorUnSelectWordCtrl+Shift+WCtrl+Shift+WCtrl+Shift+WCtrl+Shift+WCtrl+Shift+WShift+Alt+CommaShift+Alt+DownAlt DownAlt DownControl Shift Down Remove sequentially the selection made by the action.
Indent Selection EditorIndentSelectionTabTabTabTabTabTabTabTabTabTab Move the selected block to the next indentation level.
Unindent Selection EditorUnindentSelectionShift+TabShift+TabShift+TabShift+TabShift+TabShift+Alt+Left or Shift+TabShift+TabShift TabShift TabShift Tab Move the selected block to the previous indentation level.
Auto-Indent Lines AutoIndentLinesCtrl+Alt+ICtrl+Alt+ICtrl+Alt+ICtrl+Alt+I or Ctrl+Alt+QCtrl+Alt+ICtrl+Alt+ICtrl+IControl Alt IControl Alt ICommand I Indent the current line or selected block according to the Code Style settings.

See Also

Procedures:

Reference:

Getting Started:

Web Resources: