You are on page 1of 1

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

You might also like