PhpStorm 6.0.1 Web Help

This section lists and describes the keyboard shortcuts that include the Ctrl key:

Ctrl+Alphanumeric keys

ShortcutFunctionUse this shortcut to...
Ctrl+ACtrl+ACtrl+ACtrl+ACtrl+X, HCtrl+ACtrl+ACtrl+AMeta AMeta AMeta A Select AllSelect the entire text in the active editor.
Ctrl+B, Ctrl+Button1 Click or Button2 ClickCtrl+B, Ctrl+Button1 Click or Button2 ClickCtrl+B, Ctrl+Button1 Click or Button2 ClickCtrl+B, Ctrl+Button1 Click or Button2 ClickCtrl+Alt+G, Escape, Period, Alt+Period or Ctrl+Button1 ClickF12, Shift+F2, Ctrl+B, Ctrl+Button1 Click or Button2 ClickCtrl+B, Ctrl+Button1 Click or Button2 ClickF3 or Ctrl+Button1 ClickMeta B, Meta Button1 Click or Button2 ClickMeta B, Meta Button1 Click or Button2 ClickF3 or Control Button1 Click Navigate to DeclarationNavigate directly to an element's declaration from any usage.
Ctrl+C or Ctrl+InsertCtrl+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+InsertMeta C or Meta InsertMeta C or Meta InsertMeta C or Meta InsertCopyCopy selected text to the Clipboard.
Ctrl+DCtrl+DCtrl+DCtrl+DMeta+DCtrl+DCtrl+D, Ctrl+Shift+Down or Ctrl+Shift+UpCtrl+DMeta DMeta DMeta D Duplicate Line or BlockDuplicate selected block or line at caret.
Ctrl+ECtrl+ECtrl+ECtrl+ECtrl+ECtrl+EShift+F4Ctrl+EMeta EMeta EMeta E Recent Files
Recent find usages
Show the list of recently opened files.

When the Find tool window has the focus, use this shortcut to show the list of recent find usages results.

Ctrl+F or Alt+F3Ctrl+F or Alt+Shift+3Ctrl+F or Alt+Shift+3Ctrl+F or Alt+F3Ctrl+Alt+S, Alt+F3 or Ctrl+SCtrl+F or Alt+F3Ctrl+F or Alt+F3Ctrl+F or Alt+F3Meta F or Alt F3Meta F or Alt F3Meta F or Alt F3 FindInitiate text search in the editor.
Ctrl+GCtrl+GCtrl+GCtrl+GAlt+GCtrl+GCtrl+GCtrl+LMeta GMeta GMeta L Navigate to LineNavigate the to a line with the specified number in the current file.
Ctrl+HCtrl+HCtrl+HCtrl+HCtrl+HAlt+HAlt+Shift+F12F4Control HControl HF4 Type HierarchyBrowse hierarchy for the selected class.
Ctrl+JCtrl+JCtrl+JCtrl+JCtrl+JCtrl+JCtrl+JCtrl+Alt+Shift+JMeta JMeta JMeta J Insert Live TemplateShow a pop-up list of Live Templates starting with a specified prefix.
Ctrl+MCtrl+MCtrl+MCtrl+MCtrl+MCtrl+MCtrl+MCtrl+MNothingNothingNothing Scroll to CenterScroll a line at caret to the center of the screen.
Ctrl+NCtrl+NCtrl+NCtrl+NAlt+Shift+GCtrl+GCtrl+OCtrl+Shift+TMeta NMeta NMeta Shift T Navigate to ClassJump to a class in the project with the specified name.
Ctrl+OCtrl+OCtrl+OCtrl+OCtrl+OCtrl+Shift+OCtrl+OCtrl+OMeta OMeta OMeta O Override MethodsOverride base class methods in the current class.
Ctrl+PCtrl+PCtrl+PCtrl+PCtrl+PCtrl+PCtrl+PCtrl+PMeta PMeta PMeta P Parameter InfoShow parameters of the method call at the caret.
Ctrl+Q or Alt+Button2 ClickCtrl+Q or Alt+Button2 ClickCtrl+Q or Alt+Button2 ClickCtrl+Q or Alt+Button2 ClickCtrl+Q or Alt+Button2 ClickCtrl+Q or Shift+F1Ctrl+Q or Alt+Button2 ClickAlt+Button2 Click, Ctrl+Shift+Space or F2Control J or Control Button2 ClickControl J or Control Button2 ClickAlt Button2 Click or F2
Alt+Mouse Button2
Quick Documentation Look-upShow a pop-up window with PHPDoc or JSDoc for the symbol at the caret.
Ctrl+Q or Alt+Button2 ClickCtrl+Q or Alt+Button2 ClickCtrl+Q or Alt+Button2 ClickCtrl+Q or Alt+Button2 ClickCtrl+Q or Alt+Button2 ClickCtrl+Q or Shift+F1Ctrl+Q or Alt+Button2 ClickAlt+Button2 Click, Ctrl+Shift+Space or F2Control J or Control Button2 ClickControl J or Control Button2 ClickAlt Button2 Click or F2Show Table Data In the Database tool window: show a pop-up window that displays the create table query for the database table at the caret and the first 10 rows of the table.
Ctrl+RCtrl+RCtrl+RCtrl+RAlt+Shift+5Ctrl+HCtrl+HCtrl+FMeta RMeta RMeta R ReplaceCall the Replace Text dialog box.
Ctrl+SCtrl+SCtrl+SCtrl+SCtrl+X, Ctrl+SCtrl+SCtrl+S or Ctrl+Shift+SCtrl+SMeta SMeta SMeta S Save AllSave all files and settings.
Ctrl+UCtrl+UCtrl+UCtrl+UCtrl+UCtrl+UCtrl+Shift+PCtrl+UMeta UMeta UMeta U Navigate to Super MethodNavigate to a super method declaration of a method at caret
Ctrl+V or Shift+InsertCtrl+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+InsertMeta V or Shift InsertMeta V or Shift InsertMeta V or Shift Insert PastePaste from the Clipboard.
Ctrl+WCtrl+WCtrl+WCtrl+WCtrl+Alt+WCtrl+WAlt+Shift+PeriodAlt+Shift+UpMeta WMeta WControl Shift UpSelect Word at CaretSuccessively select expanding blocks of text, starting from the word at caret. (Use this shortcut repeatedly to select expressions.)
Ctrl+X or Shift+DeleteCtrl+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+DeleteMeta X or Shift DeleteMeta X or Shift DeleteMeta X or Shift DeleteCutCut to the Clipboard.
Ctrl+YCtrl+YCtrl+YCtrl+YCtrl+YCtrl+Shift+LCtrl+ECtrl+DMeta YMeta YMeta DDelete Line at CaretDelete a word starting from the current caret location up to the end of word.
Ctrl+Z or Alt+BackspaceCtrl+Z or Alt+BackspaceCtrl+Z or Alt+BackspaceCtrl+Z or Alt+BackspaceCtrl+Shift+Minus or Ctrl+SlashCtrl+ZCtrl+Z or Alt+BackspaceCtrl+ZMeta ZMeta ZMeta ZUndoUndo last operation.
Ctrl+Shift+Z or Alt+Shift+BackspaceCtrl+Shift+Z or Alt+Shift+BackspaceCtrl+Shift+Z or Alt+Shift+BackspaceCtrl+Shift+Z or Alt+Shift+BackspaceCtrl+Shift+Z or Alt+Shift+MinusCtrl+Y or Ctrl+Shift+ZCtrl+Shift+Z, Alt+Shift+Backspace or Ctrl+YCtrl+YMeta Shift Z or Alt Shift BackspaceMeta Shift Z or Alt Shift BackspaceMeta Shift ZRedoRedo last undone operation.
Ctrl+NumberNavigate to bookmarkNavigate to a numbered bookmark with corresponding number.

Ctrl+Navigation keys

ShortcutFunctionUse this shortcut to...
Ctrl+Tab or Ctrl+Shift+TabCtrl+Tab or Ctrl+Shift+TabCtrl+Tab or Ctrl+Shift+TabCtrl+Tab or Ctrl+Shift+TabCtrl+X, BCtrl+Tab or Ctrl+Shift+TabCtrl+Tab or Ctrl+Shift+TabCtrl+Tab or Ctrl+Shift+TabControl Tab or Control Shift TabControl Tab or Control Shift TabControl Tab or Control Shift TabSwitcherNavigate between the files opened in the editor, and tool windows.
Ctrl+BackspaceCtrl+BackspaceCtrl+BackspaceCtrl+BackspaceCtrl+Backspace, Alt+Backspace or Escape, BackspaceCtrl+BackspaceCtrl+BackspaceCtrl+BackspaceAlt BackspaceAlt BackspaceMeta BackspaceDelete to Word StartDelete a word starting from the current caret location up to the word start.
Ctrl+DeleteCtrl+DeleteCtrl+DeleteCtrl+DeleteCtrl+DeleteCtrl+DeleteCtrl+DeleteCtrl+DeleteAlt DeleteAlt DeleteMeta Delete Delete to Word EndDelete a word starting from the current caret location up to the word end.
Ctrl+EndCtrl+EndCtrl+EndCtrl+EndCtrl+End or Alt+Shift+PeriodCtrl+EndCtrl+EndCtrl+EndMeta EndMeta EndMeta End Move to Text EndMove the caret to the end of text.
Ctrl+EnterCtrl+EnterCtrl+EnterCtrl+EnterCtrl+EnterCtrl+EnterCtrl+EnterCtrl+EnterMeta EnterMeta EnterMeta EnterSplit Line or Open Item Depending on the context:
  • In the editor: Intelligently split the current line into 2 lines, shifting quotes, etc. as necessary.
  • In Tool Windows: Open an Editor tab or tabs for the selected item or items, respectively.
Ctrl+HomeCtrl+HomeCtrl+HomeCtrl+HomeCtrl+Home, Alt+Shift+Comma or Escape, CommaCtrl+HomeCtrl+HomeCtrl+HomeMeta HomeMeta HomeMeta Home Move to Text StartJump to the beginning of the text.
Ctrl+C or Ctrl+InsertCtrl+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+InsertMeta C or Meta InsertMeta C or Meta InsertMeta C or Meta Insert CopyCopy a current line or a selected code block to the Clipboard.
Ctrl+SpaceCtrl+SpaceCtrl+SpaceCtrl+SpaceAlt+SlashCtrl+SpaceCtrl+Space or Ctrl+Back SlashCtrl+SpaceControl SpaceControl SpaceControl Space Basic Code CompletionComplete code for any class, method or variable.
Ctrl+Page DownCtrl+Page DownCtrl+Page DownCtrl+Page DownCtrl+Page DownCtrl+Page DownAlt+Shift+Page DownCtrl+Page DownMeta Page DownMeta Page DownMeta Page Down Navigate to Page BottomMove the caret down to the page bottom.
Ctrl+Page UpCtrl+Page UpCtrl+Page UpCtrl+Page UpCtrl+Page UpCtrl+Page UpAlt+Shift+Page UpCtrl+Page UpMeta Page UpMeta Page UpMeta Page Up Navigate to Page TopMove the caret up to the page top.
Ctrl+DownCtrl+DownCtrl+DownCtrl+DownCtrl+DownCtrl+DownCtrl+DownCtrl+DownMeta DownMeta DownMeta Down Scroll DownMove line at caret one down, preserving syntactical correctness.
Ctrl+LeftCtrl+LeftCtrl+LeftCtrl+LeftCtrl+Left, Alt+B or Escape, Ctrl+BCtrl+LeftCtrl+LeftCtrl+LeftAlt LeftAlt LeftAlt Left Move to Previous WordMove the caret to the previous word.
Ctrl+RightCtrl+RightCtrl+RightCtrl+RightCtrl+Right, Alt+F or Escape, Ctrl+FCtrl+RightCtrl+RightCtrl+RightAlt RightAlt RightAlt Right Move to Next WordMove the caret to the next word.
Ctrl+UpCtrl+UpCtrl+UpCtrl+UpCtrl+UpCtrl+UpCtrl+UpCtrl+UpMeta UpMeta UpMeta Up
Ctrl+Shift+UpCtrl+Shift+UpCtrl+Shift+UpCtrl+Shift+UpCtrl+Shift+UpCtrl+Shift+UpAlt+Shift+UpAlt+UpMeta Shift UpMeta Shift UpAlt Up
Scroll Up:Move line at caret one up, preserving syntactical correctness.

Ctrl+Symbol keys

ShortcutFunctionUse this shortcut to...
Ctrl+Open BracketCtrl+Open BracketCtrl+Open BracketCtrl+Open BracketCtrl+Open Bracket, Ctrl+Alt+Open Bracket or Ctrl+Alt+FCtrl+Open BracketCtrl+Open BracketCtrl+Open BracketMeta Open BracketMeta Open BracketMeta Alt Open Bracket Move to Code Block StartMove the caret to the beginning of the current code block, highlighting its limits.
Ctrl+Close BracketCtrl+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+PMeta Close BracketMeta Close BracketControl Close Bracket or Control Shift P Move to Code Block EndMove the caret to the end of the current code block, highlighting its limits.
Ctrl+Slash or Ctrl+NumPad /Ctrl+Slash or Ctrl+NumPad /Ctrl+Slash or Ctrl+NumPad /Ctrl+Slash or Ctrl+NumPad /Alt+SemicolonCtrl+Slash, Ctrl+NumPad / or Ctrl+ColonCtrl+Slash, Ctrl+NumPad / or Ctrl+Shift+CCtrl+Slash or Ctrl+NumPad /Meta Slash or Meta NumPad /Meta Slash or Meta NumPad /Meta Slash or Meta NumPad /
Ctrl+Numpad/
Comment with Line CommentComment/uncomment current line or selected block with line comments.
Ctrl+=
Ctrl+NumPad + or Ctrl+EqualsCtrl+NumPad + or Ctrl+EqualsCtrl+NumPad + or Ctrl+EqualsCtrl+NumPad + or Ctrl+EqualsCtrl+NumPad + or Ctrl+EqualsCtrl+NumPad + or Ctrl+EqualsCtrl+NumPad + or Ctrl+EqualsCtrl+NumPad + or Ctrl+EqualsMeta NumPad or Meta EqualsMeta NumPad or Meta EqualsMeta NumPad or Meta Equals
Expand AllExpand all folding blocks.
Ctrl+NumPad - or Ctrl+MinusCtrl+NumPad - or Ctrl+MinusCtrl+NumPad - or Ctrl+MinusCtrl+NumPad - or Ctrl+MinusCtrl+NumPad - or Ctrl+MinusCtrl+NumPad - or Ctrl+MinusCtrl+NumPad - or Ctrl+MinusCtrl+NumPad - or Ctrl+MinusMeta NumPad - or Meta MinusMeta NumPad - or Meta MinusMeta NumPad - or Meta Minus Collapse AllCollapse all folding blocks.

Ctrl+Numpad keys

ShortcutFunctionUse this shortcut to...
Ctrl+Numpad/
Ctrl+Slash or Ctrl+NumPad /Ctrl+Slash or Ctrl+NumPad /Ctrl+Slash or Ctrl+NumPad /Ctrl+Slash or Ctrl+NumPad /Alt+SemicolonCtrl+Slash, Ctrl+NumPad / or Ctrl+ColonCtrl+Slash, Ctrl+NumPad / or Ctrl+Shift+CCtrl+Slash or Ctrl+NumPad /Meta Slash or Meta NumPad /Meta Slash or Meta NumPad /Meta Slash or Meta NumPad /
Comment with Line CommentComment/uncomment current line or selected block with line comments.
Ctrl+NumPad + or Ctrl+EqualsCtrl+NumPad + or Ctrl+EqualsCtrl+NumPad + or Ctrl+EqualsCtrl+NumPad + or Ctrl+EqualsCtrl+NumPad + or Ctrl+EqualsCtrl+NumPad + or Ctrl+EqualsCtrl+NumPad + or Ctrl+EqualsCtrl+NumPad + or Ctrl+EqualsMeta NumPad or Meta EqualsMeta NumPad or Meta EqualsMeta NumPad or Meta Equals
Ctrl+=
Expand AllExpand all folding blocks.
Ctrl+NumPad - or Ctrl+MinusCtrl+NumPad - or Ctrl+MinusCtrl+NumPad - or Ctrl+MinusCtrl+NumPad - or Ctrl+MinusCtrl+NumPad - or Ctrl+MinusCtrl+NumPad - or Ctrl+MinusCtrl+NumPad - or Ctrl+MinusCtrl+NumPad - or Ctrl+MinusMeta NumPad - or Meta MinusMeta NumPad - or Meta MinusMeta NumPad - or Meta MinusCollapse AllCollapse all folding blocks.

Ctrl+Function (F) keys

ShortcutFunctionUse this shortcut to...
Ctrl+F1Ctrl+F1Ctrl+1Ctrl+F1Ctrl+F1Ctrl+F1 or Alt+TCtrl+F1Ctrl+F1Meta F1Meta F1Meta F1 Error DescriptionShow an error or warning description at the caret.
Ctrl+F3Ctrl+F3Ctrl+3Ctrl+F3Ctrl+F3Ctrl+F3Ctrl+F3Ctrl+F12Meta F3Meta F3Meta F3 Find Word at CaretSearch in the editor for the word where the caret is currently located.
Ctrl+F6Ctrl+F6Ctrl+6Ctrl+F6Ctrl+F6Ctrl+F6Ctrl+F6Alt+Shift+CMeta F6Meta F6Meta Alt C Change Method SignatureRefactor a selected method signature and update all references.
Ctrl+F7Ctrl+F7Ctrl+7Ctrl+F7Ctrl+F7Ctrl+Shift+F7 or Shift+F12Ctrl+F7Ctrl+Shift+GMeta F7Meta F7Meta Shift U Find Usages in FileInitiate search for usages.
Ctrl+F8Ctrl+F8Ctrl+8Ctrl+F8Ctrl+F8F9Ctrl+F8Ctrl+Shift+B or Ctrl+F8Meta F8Meta F8Meta Shift B Toggle BreakpointToggle breakpoint at caret.
Ctrl+F9Ctrl+F9Ctrl+9Ctrl+F9Ctrl+F9F7F11Ctrl+F9 or Ctrl+BMeta F9Meta F9Meta B Make ProjectCompile all modified and dependent files in a project.
NothingNothingNothingNothingNothingNothingNothingNothingNothingNothingNothingUpdateReload updated resources and recompiled classes of the currently running application.
Ctrl+F11Ctrl+F11Ctrl+F11Ctrl+F11Ctrl+F11Ctrl+F11Ctrl+F11Ctrl+F11Meta F11Meta F11Alt F3 Toggle Bookmark with mnemonic.Turn bookmark with mnemonic on or off.
Ctrl+F12Ctrl+F12Ctrl+0Ctrl+F12Ctrl+F12Ctrl+F12Ctrl+F12 or Ctrl+Shift+F12Ctrl+F3 or Ctrl+OMeta F12Meta F12Meta O File Structure Pop-upShow the current file structure in the File Structure pop-up window for quick navigation.

See Also

Procedures:

Reference:

Getting Started:

Web Resources: