Upload
john-snow
View
396
Download
19
Embed Size (px)
DESCRIPTION
Keyboard shortcuts for PhpStorm
Citation preview
PhpStorm Default Keymap PhpStorm Default Keymap PhpStorm Default KeymapRefactoring
F5 CopyF6 MoveAlt + Delete Safe DeleteShift + F6 RenameCtrl + Alt + N Inline VariableCtrl + Alt + M Extract MethodCtrl + Alt + V Extract VariableCtrl + Alt + F Extract FieldCtrl + Alt + C Extract Constant
VCS/Local History
Alt + BackQuote (`) ‘VCS’ quick popupCtrl + K Commit project to VCSCtrl + T Update project from VCSAlt + Shift + C View recent changes
General
Ctrl + Shift + A Find ActionAlt + #[0-9] Open corresponding tool windowCtrl + Alt + F11 Toggle full screen modeCtrl + Shift + F12 Toggle maximizing editorAlt + Shift + F Add to FavoritesAlt + Shift + I Inspect current file with current profileCtrl + BackQuote (`) Quick switch current schemeCtrl + Alt + S Open Settings dialogCtrl + Tab Switch between tabs and tool window
Running
Alt + Shift + F10 Select configuration and runAlt + Shift + F9 Select configuration and debugShift + F10 RunShift + F9 DebugCtrl + Shift + F10 Run context configuration from editorCtrl + Shift + X Run command line
Debugging
F8 Step overF7 Step intoShift + F7 Smart step intoShift + F8 Step outAlt + F9 Run to cursorAlt + F8 Evaluate expressionF9 Resume programCtrl + F8 Toggle breakpointCtrl+Shift+F8 View breakpoints
Navigation
Ctrl + N Go to classCtrl + Shift + N Go to fileCtrl + Alt + Shift + N Go to symbolAlt + Right/Left Go to next/previous editor tabF12 Go back to previous tool windowEsc Go to editor (from tool window)Shift + Esc Hide active or last active windowCtrl + Shift + F4 Close active run/messages/find/... tabCtrl + G Go to lineCtrl + E Recent files popupCtrl + Alt + Left/Right Navigate back/forwardCtrl + Shift + Backspace Navigate to last edit locationAlt + F1 Select current file or symbol in any viewCtrl + B or Ctrl + Click Go to declarationCtrl + Alt + B Go to implementation(s)Ctrl + Shift + I Open quick definition lookupCtrl + Shift + B Go to type declarationCtrl + U Go to super-method/super-classAlt + Up/Down Go to previous/next methodCtrl + ] / [ Move to code block end/startCtrl + F12 File structure popupCtrl + H Type hierarchyCtrl + Shift + H Method hierarchyCtrl + Alt + H Call hierarchyF2 / Shift + F2 Next/previous highlighted errorF4 / Ctrl + Enter Edit source / View sourceAlt + Home Show navigation barF11 Toggle bookmarkCtrl + F11 Toggle bookmark with mnemonicCtrl + #[0-9] Go to numbered bookmarkShift + F11 Show bookmarks
Editing
Ctrl + Space Basic code completion (the name of any class, method or variable)Ctrl + Shift + Enter Complete statementCtrl + P Parameter info (within method call arguments)Ctrl + Q Quick documentation lookupCtrl + mouse over code Brief InfoCtrl + F1 Show descriptions of error or warning at caretAlt + Insert Generate code... (Getters, Setters, Constructors)Ctrl + O Override methodsCtrl + I Implement methodsCtrl + Alt + T Surround with... (if..else, try..catch, for, etc.)Ctrl + / Comment/uncomment with line commentCtrl + Shift + / Comment/uncomment with block commentCtrl + W Select successively increasing code blocksCtrl + Shift + W Decrease current selection to previous stateAlt + Q Context infoAlt + Enter Show intention actions and quick-fixesCtrl + Alt + L Reformat codeCtrl + Alt + I Auto-indent line(s)Tab / Shift + Tab Indent/unindent selected linesCtrl + X or Shift + Delete Cut current line or selected block to clipboardCtrl + C or Ctrl + Insert Copy current line or selected block to clipboardCtrl + V or Shift + Insert Paste from clipboardCtrl + Shift + V Paste from recent buffers...Ctrl + D Duplicate current line or selected blockCtrl + Y Delete line at caretCtrl + Shift + J Smart line join (HTML and JavaScript only)Ctrl + Enter Smart line split (HTML and JavaScript only) Shift + Enter Start new lineCtrl + Shift + U Toggle case for word at caret or selected blockCtrl + Shift + ] / [ Select till code block end/startCtrl + Delete Delete to word endCtrl + Backspace Delete to word startCtrl + NumPad+/- Expand/collapse code blockCtrl + Shift + NumPad+ Expand allCtrl + Shift + NumPad- Collapse allCtrl + F4 Close active editor tab
Search/Replace
Ctrl + F FindF3 Find nextShift + F3 Find previousCtrl + R ReplaceCtrl + Shift + F Find in pathCtrl + Shift + R Replace in path
Usage Search
Alt + F7 / Ctrl + F7 Find usages / Find usages in fileCtrl + Shift + F7 Highlight usages in fileCtrl + Alt + F7 Show usages
JetBrains PhpStorm
• Zero-configuration debugger (Xdebug or Zend)• Best-in-class HTML, CSS and JavaScript editor• Unit testing right in the IDE• Performance is our key priority
Cross-platform PHP IDE
jetbrains.com/phpstorm
To find any action inside the IDE use Find Action (Ctrl + Shift + A)
www.jetbrains.com/phpstorm blog.jetbrains.com/phpstorm @PhpStorm
Copy
right
© J
etBr
ains
, Inc
. 20
13.
All R
ight
s Re
serv
ed.
Editing Space Basic code completion (the name of any class, method
or variable) Complete statement P Parameter info (within method call arguments) J or Mid. button click Quick documentation lookup + mouse over code Brief Info F1 Show descriptions of error or warning at caret N, , N Generate code... (Getters, Setters, Constructors) O Override methods I Implement methods T Surround 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 Q Context info Show intention actions and quick-fixes L Reformat code I Auto-indent line(s) , Indent/unindent selected lines X Cut current line or selected block to clipboard C Copy current line or selected block to clipboard V Paste from clipboard V Paste from recent buffers... D Duplicate current line or selected block Delete line at caret J Smart line join (HTML and JavaScript only) J Smart line split (HTML and JavaScript only) Start new line U Toggle case for word at caret or selected block ], [ Select till code block end/start Delete to word end Delete to word start +, - Expand/collapse code block + Expand all - Collapse all W Close active editor tab
Search/Replace
F Find G Find next G Find previous R Replace F Find in path R Replace in path
Usage Search
F7 / F7 Find usages / Find usages in file F7 Highlight usages in file F7 Show usages
Refactoring
F5 CopyF6 Move
Delete Safe Delete F6 Rename N Inline Variable M Extract Method V Extract Variable F Extract Field C Extract Constant
VCS/Local History V ‘VCS’ quick popup K Commit project to VCS T Update project from VCS C View recent changes
General
A Find Action 0 ... 9 Open corresponding tool window F11 Toggle full screen mode F12 Toggle maximizing editor F Add to Favorites I Inspect current file with current profile § or ` Quick switch current scheme , Open Settings dialog Switch between tabs and tool window
Running R Select configuration and run D Select configuration and debug R Run D Debug R, D Run context configuration from editor X Run command line
Debugging
F8 Step overF7 Step into
F7 Smart step into F8 Step out F9 Run to cursor F8 Evaluate expression R Resume program F8 Toggle breakpoint F8 View breakpoints
Navigation
O Go to class O Go to file O Go to symbol , Go to next/previous editor tab
F12 Go back to previous tool window Go to editor (from tool window) Hide active or last active window F4 Close active run/messages/find/... tab L Go to line E Recent files popup , Navigate back/forward Navigate to last edit location F1 Select current file or symbol in any view B or Click Go to declaration B Go to implementation(s) Space, Y Open quick definition lookup B Go to type declaration U Go to super-method/super-class , Go to previous/next method ] , [ Move to code block end/start F12 File structure popup H Type hierarchy H Method hierarchy H Call hierarchy
F2 , F2 Next/previous highlighted errorF4 / Edit source / View source
Home Show navigation barF3 Toggle bookmark
F3 Toggle bookmark with mnemonic 0 ... 9 Go to numbered bookmark F3 Show bookmarks
PhpStorm Default Keymap PhpStorm Default Keymap PhpStorm Default Keymap
To find any action inside the IDE use Find Action ( )
Command Option / Alt Control Shift Arrow Keys
Backspace Delete Escape Enter / Return
Tab
www.jetbrains.com/phpstorm blog.jetbrains.com/phpstorm
Copy
right
© J
etBr
ains
, Inc
. 20
13.
All R
ight
s Re
serv
ed.
@PhpStorm