You are on page 1of 2

DEFAULT WINDOWS & LINUX KEYMAP

Editing Running Refactoring


Ctrl + Space Basic code completion Shift + F10 Run F5/F6 Copy/Move
Alt + Enter Show intention actions and quick-fixes Shift + F9 Debug Alt + Delete Safe Delete
Ctrl + P Parameter info (within method call Ctrl + Shift + F10 Run context configuration from editor Shift + F6 Rename
arguments) Ctrl + Shift + X Run command line Ctrl + Alt + N Inline Variable
Ctrl + Q Quick documentation lookup Ctrl + Alt + M/V/F/C Extract Method/Variable/Field/Constant
Ctrl + mouse over code Brief Info Search/Replace Ctrl + Alt + Shift + T Refactor This (shows all available refactorings)
Alt + Insert Generate code... (Getters, Setters, Ctrl + F/R Find/Replace
Constructors) F3/Shift + F3 Find next/previous VCS/Local History
Ctrl + O Override methods Ctrl + Shift + F/R Find/Replace in path Alt + BackQuote (`) ‘VCS’ quick popup
Ctrl + I Implement methods Ctrl + K Commit project to VCS
Ctrl + Alt + T Surround with... (if..else, try..catch, for, etc.) Usage Search Ctrl + T Update project from VCS
Ctrl + / Comment/uncomment with line comment Alt + F7 / Ctrl + F7 Find usages / Find usages in file Alt + Shift + C View recent changes
Ctrl + Shift + / Comment/uncomment with block comment Ctrl + Shift + F7 Highlight usages in file
Ctrl + W Select successively increasing code blocks Ctrl + Alt + F7 Show usages General
Ctrl + Shift + W Decrease current selection to previous state Double Shift Search everywhere
Ctrl + Alt + L Reformat code Navigation Ctrl + Shift + A Find Action
Ctrl + Alt + I Auto-indent line(s) Ctrl + N Go to class Alt + #[0-9] Open corresponding tool window
Ctrl + D Duplicate current line or selected block Ctrl + Shift + N Go to file Ctrl + Alt + F11 Toggle full screen mode
Ctrl + Y Delete line at caret Ctrl + Alt + Shift + N Go to symbol Ctrl + Shift + F12 Toggle maximizing editor
Ctrl + Shift + J Smart line join (HTML and JavaScript only) Ctrl + G Go to line Alt + Shift + F Add to Favorites
Ctrl + Enter Smart line split (HTML and JavaScript only) Alt + Right/Left Go to next/previous editor tab Alt + Shift + I Inspect current file with current profile
Shift + Enter Start new line Esc Go to editor (from tool window) Ctrl + Alt + S Open Settings dialog
Ctrl + Shift + U Toggle case for word at caret Ctrl + E Recent files popup Ctrl + Tab Switch between tabs and tool window
or selected block Ctrl + Alt + Left/Right Navigate back/forward
Ctrl + Shift + ] / [ Select till code block end/start Ctrl + Shift + Backspace Navigate to last edit location Live Templates / Snippets
Ctrl + Delete Delete to word end Alt + F1 Select current file or symbol in any view Ctrl + J Insert Live Template
Ctrl + Backspace Delete to word start Ctrl + B or Ctrl + Click Go to declaration eco ‘echo’ statement
Ctrl + NumPad+/- Expand/collapse code block Ctrl + Alt + B Go to implementation(s) fore foreach(iterable_expr as $value) {…}
Ctrl + F4 Close active editor tab Ctrl + Shift + I Open quick definition lookup forek foreach(iterable_expr as $key => $value) {…}
Ctrl + Shift + V Paste from history Ctrl + Shift + B Go to type declaration inc/inco ‘include’/‘include_once’ statement
Ctrl + U Go to super-method/super-class prif private function
Debugging Alt + Up/Down Go to previous/next method prof protected function
F8 Step over Ctrl + ] / [ Move to code block end/start pubf public function
F7 Step into F2 / Shift + F2 Next/previous highlighted error rqr/rqro ‘require’/‘require_once’ statement
Shift + F8 Step out F4 / Ctrl + Enter Edit source / View source and more...
Alt + F8 Evaluate expression
F9 Resume program
Ctrl + F8 Toggle breakpoint
Ctrl+Shift+F8 View breakpoints
To find any action inside the IDE use
Find Action ( Ctrl + Shift + A ) jetbrains.com/phpstorm blog.jetbrains.com/phpstorm @phpstorm
DEFAULT OS X KEYMAP

Editing Running Refactoring


Space Basic code completion F10 Run F5/F6 Copy/Move
Show intention actions and quick-fixes F9 Debug Delete Safe Delete
P Parameter info (within method call R, D Run context configuration from editor F6 Rename
arguments) X Run command line N Inline Variable
J or Mid. button click Quick documentation lookup M/V/F/C Extract Method/Variable/Field/Constant
+ mouse over code Brief Info Search/Replace T Refactor This (shows all available refactorings)
N, , N Generate code... (Getters, Setters, F/R Find/Replace
Constructors) G, G Find next/previous VCS/Local History
O Override methods F/R Find/Replace in path V ‘VCS’ quick popup
I Implement methods K Commit project to VCS
T Surround with... (if..else, try..catch, for, etc.) Usage Search T Update project from VCS
/ Comment/uncomment with line comment F7 / F7 Find usages / Find usages in file C View recent changes
/ Comment/uncomment with block comment F7 Highlight usages in file
Select successively increasing code blocks F7 Show usages General
Decrease current selection to previous state Search everywhere
L Reformat code Navigation A Find Action
I Auto-indent line(s) N Go to class 0 ... 9 Open corresponding tool window
D Duplicate current line or selected block N Go to file F11 Toggle full screen mode
Delete line at caret N Go to symbol F12 Toggle maximizing editor
J Smart line join (HTML and JavaScript only) + G Go to line F Add to Favorites
Smart line split (HTML and JavaScript only) / Go to next/previous editor tab I Inspect current file with current profile
Start new line Go to editor (from tool window) , Open Settings dialog
U Toggle case for word at caret or selected E Recent files popup Switch between tabs and tool window
block , Navigate back/forward
], [ Select till code block end/start Navigate to last edit location Live Templates / Snippets
Delete to word end F1 Select current file or symbol in any view J Insert Live Template
Delete to word start B or Click Go to declaration eco ‘echo’ statement
+, - Expand/collapse code block B Go to implementation(s) fore foreach(iterable_expr as $value) {…}
W Close active editor tab Space, Y Open quick definition lookup forek foreach(iterable_expr as $key => $value) {…}
V Paste from history B Go to type declaration inc/inco ‘include’/‘include_once’ statement
U Go to super-method/super-class prif private function
Debugging , Go to previous/next method prof protected function
F8 Step over ], [ Move to code block end/start pubf public function
F7 Step into F2 , F2 Next/previous highlighted error rqr/rqro ‘require’/‘require_once’ statement
F8 Step out F4 / Edit source / View source and more...
F8 Evaluate expression
F9 Resume program
F8 Toggle breakpoint
F8 View breakpoints
To find any action inside the IDE use
Find Action ( A) jetbrains.com/phpstorm blog.jetbrains.com/phpstorm @phpstorm

You might also like