Skip to content

Instantly share code, notes, and snippets.

@James-N-M
Created October 3, 2018 13:14
Show Gist options
  • Save James-N-M/925f6a1b285e49b21da79423ce0929a1 to your computer and use it in GitHub Desktop.
Save James-N-M/925f6a1b285e49b21da79423ce0929a1 to your computer and use it in GitHub Desktop.
PHP Storm Hotkeys
Editing
/===================================\
Ctrl + Space Basic code completion
Alt + Enter Show intention actions and quick-fixes
Ctrl + P Parameter info (within method call arguments)
Ctrl + Q Quick documentation lookup
Ctrl + mouse over code Brief Info
Alt + Insert Generate code... (Getters, Setters, Constructors)
Ctrl + O Override methods
Ctrl + I Implement methods
Ctrl + Alt + T Surround with... (if..else, try..catch, for, etc.)
Ctrl + / Comment/uncomment with line comment
Ctrl + Shift + / Comment/uncomment with block comment
Ctrl + W Select successively increasing code blocks
Ctrl + Shift + W Decrease current selection to previous state
Ctrl + Alt + L Reformat code
Ctrl + Alt + I Auto-indent line(s)
Ctrl + D Duplicate current line or selected block
Ctrl + Y Delete line at caret
Ctrl + Shift + J Smart line join (HTML and JavaScript only)
Ctrl + Enter Smart line split (HTML and JavaScript only)
Shift + Enter Start new line
Ctrl + Shift + U Toggle case for word at caret or selected block
Ctrl + Shift + ] / [ Select till code block end/start
Ctrl + Delete Delete to word end
Ctrl + Backspace Delete to word start
Ctrl + NumPad+/- Expand/collapse code block
Ctrl + F4 Close active editor tab
Ctrl + Shift + V Paste from history
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment