PHPStorm DEFAULT KEYMAP (Mac)

To find any action inside the IDE use. Find Action ( ⇧ + ⌘ + A )

Keyboard Special Symbols for Mac

Command
Option
Control
Shift
Esc
Return
Enter
Delete
Forward Delete
Up
Down
Left
Right

Editing

⌃ + SpaceBasic code completion
⌥ + EnterShow intention actions and quick-fixes
⌘ + PParameter info (within method call arguments)
⌃ + JQuick documentation lookup
⌘ + mouse over codeBrief Info
⌘ + NGenerate code… (Getters, Setters, Constructors)
⌃ + OOverride methods
⌃ + IImplement methods
⌘ + ⌥ + TSurround with… (if..else, try..catch, for, etc.)
⌘ + /Comment/uncomment with line comment
⌘ + ⌥ + /Comment/uncomment with block comment
⌥ + ↑Select successively increasing code blocks
⌥ + ↓Decrease current selection to previous state
⌘ + ⌥ + LReformat code
⌃ + ⌥ + IAuto-indent line(s)
⌘ + DDuplicate current line or selected block
⌘ + DelDelete line at caret
⌃ + ⇧ + JSmart line join (HTML and JavaScript only)
⌘ + EnterSmart line split (HTML and JavaScript only)
⇧ + EnterStart new line
⌘ + ⇧ + UToggle case for word at caret or selected block
⌥ + ⇧ + ⌘ + ] / [Select till code block end/start
⌥ + Forward + DeleteDelete to word end
⌥ + DeleteDelete to word start
⌘ + +/-Expand/collapse code block
⌘ + WClose active editor tab
⌘ + ⇧ + VPaste from history

Debugging

F8Step over
F7Step into
⇧ + F8Step out
⌥ + F8Evaluate expression
⌘ + ⌥ + F9Resume program
⌘ + F8Toggle breakpoint
⌘ + ⇧ + F8View breakpoints

Running

⌃ + F10Run
⌃ + F9Debug
⌃ + ⇧ + R/DRun context configuration from editor
⌘ + ⇧ + XRun command line

Search/Replace

⌘ + F/RFind/Replace
[⌘/⌘ + ⇧] + GFind next/previous
⌘ + ⇧ + F/RFind/Replace in path

Usage Search

⌥ + F7 / ⌘ + F7Find usages / Find usages in file
⌘ + ⇧ + F7Highlight usages in file
⌘ + ⌥ + F7Show usages

Navigation

⌘ + NGo to class
⌘ + ⇧ + NGo to file
⌘ + ⌥ + NGo to symbol
⌘ + [+] + GGo to line
⌃ + →/←Go to next/previous editor tab
Go to editor (from tool window)
⌘ + ERecent files popup
⌘ + ⌥ + ←/→Navigate back/forward
⌘ + ⇧ + BackspaceNavigate to last edit location
⌥ + F1Select current file or symbol in any view
⌘ + B or ⌘ + ClickGo to declaration
⌘ + ⌥ + BGo to implementation(s)
⌥ + Space, ⌘ + YOpen quick definition lookup
⌃ + ⇧ + BGo to type declaration
⌘ + UGo to super-method/super-class
⌃ + ↑/↓Go to previous/next method
⌘ + ] / [Move to code block end/start
F2 / ⇧ + F2Next/previous highlighted error
F4 / ⌘ + ↓Edit source / View source

Refactoring

F5/F6Copy/Move
⌘ + DeleteSafe Delete
⇧ + F6Rename
⌘ + ⌥ + NInline Variable
⌘ + ⌥ + M/V/F/CExtract Method/Variable/Field/Constant
⌃ + TRefactor This (shows all available refactorings)

VCS/Local History

⌃ + V‘VCS’ quick popup
⌘ + KCommit project to VCS
⌘ + TUpdate project from VCS
⌥ + ⇧ + CView recent changes

General

Double ⇧Search everywhere
⇧ + ⌘ + AFind Action
⌘ + [0-9]Open corresponding tool window
⌘ + ⌥ + F11Toggle full screen mode
⌘ + ⇧ + F12Toggle maximizing editor
⌥ + ⇧ + FAdd to Favorites
⌥ + ⇧ + IInspect current file with current profile
⌘ + ,Open Settings dialog
⌃ + TabSwitch between tabs and tool window

PHPStorm DEFAULT KEYMAP (Windows, Linux)

To find any action inside the IDE use. Find Action ( Ctrl + Shift + A )

Editing

Ctrl + SpaceBasic code completion
Alt + EnterShow intention actions and quick-fixes
Ctrl + PParameter info (within method call arguments)
Ctrl + QQuick documentation lookup
Ctrl + mouse over codeBrief Info
Alt + InsertGenerate code… (Getters, Setters, Constructors)
Ctrl + OOverride methods
Ctrl + IImplement methods
Ctrl + Alt + TSurround with… (if..else, try..catch, for, etc.)
Ctrl + /Comment/uncomment with line comment
Ctrl + Shift + /Comment/uncomment with block comment
Ctrl + WSelect successively increasing code blocks
Ctrl + Shift + WDecrease current selection to previous state
Ctrl + Alt + LReformat code
Ctrl + Alt + IAuto-indent line(s)
Ctrl + DDuplicate current line or selected block
Ctrl + YDelete line at caret
Ctrl + Shift + JSmart line join (HTML and JavaScript only)
Ctrl + EnterSmart line split (HTML and JavaScript only)
Shift + EnterStart new line
Ctrl + Shift + UToggle case for word at caret or selected block
Ctrl + Shift + ] / [Select till code block end/start
Ctrl + DeleteDelete to word end
Ctrl + BackspaceDelete to word start
Ctrl + NumPad+/-Expand/collapse code block
Ctrl + F4Close active editor tab
Ctrl + Shift + VPaste from history

Debugging

F8Step over
F7Step into
Shift + F8Step out
Alt + F8Evaluate expression
F9Resume program
Ctrl + F8Toggle breakpoint
Ctrl+Shift+F8View breakpoints

Running

Shift + F10Run
Shift + F9Debug
Ctrl + Shift + F10Run context configuration from editor
Ctrl + Shift + XRun command line

Search/Replace

Ctrl + F/RFind/Replace
F3/Shift + F3Find next/previous
Ctrl + Shift + F/RFind/Replace in path

Usage Search

Alt + F7 / Ctrl + F7Find usages / Find usages in file
Ctrl + Shift + F7Highlight usages in file
Ctrl + Alt + F7Show usages

Navigation

Ctrl + NGo to class
Ctrl + Shift + NGo to file
Ctrl + Alt + Shift + NGo to symbol
Ctrl + GGo to line
Alt + Right/LeftGo to next/previous editor tab
EscGo to editor (from tool window)
Ctrl + ERecent files popup
Ctrl + Alt + Left/RightNavigate back/forward
Ctrl + Shift + BackspaceNavigate to last edit location
Alt + F1Select current file or symbol in any view
Ctrl + B or Ctrl + ClickGo to declaration
Ctrl + Alt + BGo to implementation(s)
Ctrl + Shift + IOpen quick definition lookup
Ctrl + Shift + BGo to type declaration
Ctrl + UGo to super-method/super-class
Alt + Up/DownGo to previous/next method
Ctrl + ] / [Move to code block end/start
F2 / Shift + F2Next/previous highlighted error
F4 / Ctrl + EnterEdit source / View source

Refactoring

F5/F6Copy/Move
Alt + DeleteSafe Delete
Shift + F6Rename
Ctrl + Alt + NInline Variable
Ctrl + Alt + M/V/F/CExtract Method/Variable/Field/Constant
Ctrl + Alt + Shift + TRefactor This (shows all available refactorings)

VCS/Local History

Alt + BackQuote (`)‘VCS’ quick popup
Ctrl + KCommit project to VCS
Ctrl + TUpdate project from VCS
Alt + Shift + CView recent changes

General

Double ShiftSearch everywhere
Ctrl + Shift + AFind Action
Alt + #[0-9]Open corresponding tool window
Ctrl + Alt + F11Toggle full screen mode
Ctrl + Shift + F12Toggle maximizing editor
Alt + Shift + FAdd to Favorites
Alt + Shift + IInspect current file with current profile
Ctrl + Alt + SOpen Settings dialog
Ctrl + TabSwitch between tabs and tool window