Default Windows & Linux Keymap
Total Page:16
File Type:pdf, Size:1020Kb
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 macOS Keymap Editing Running Refactoring Space Basic code completion R Run F5/F6 Copy/Move Show intention actions and quick-fixes D Debug Delete Safe Delete P Parameter info (within method call R or 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) O Go to class 0 ... 9 Open corresponding tool window D Duplicate current line or selected block O Go to file F11 Toggle full screen mode Delete line at caret O Go to symbol F12 Toggle maximizing editor J Smart line join (HTML and JavaScript only) L 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 block E Recent files popup Switch between tabs and tool window ] / [ Select till code block end/start / Navigate back/forward Delete to word end Navigate to last edit location Live Templates / Snippets Delete to word start F1 Select current file or symbol in any view J Insert Live Template + / - Expand/collapse code block B or Click Go to declaration eco ‘echo’ statement W Close active editor tab B Go to implementation(s) fore foreach(iterable_expr as $value) {…} V Paste from history Space or Y Open quick definition lookup forek foreach(iterable_expr as $key => $value) {…} B Go to type declaration inc/inco ‘include’/‘include_once’ statement Debugging U Go to super-method/super-class prif private function F8 Step over / Go to previous/next method prof protected function F7 Step into ] / [ Move to code block end/start pubf public function F8 Step out F2 / F2 Next/previous highlighted error rqr/rqro ‘require’/‘require_once’ statement F8 Evaluate expression F4 / Edit source / View source and more... 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.