Phpstorm#
Keyboard Shortcuts#
Editing#
Shortcut |
Action |
|---|---|
|
Basic code completion |
|
Show intention actions and quick-fixes |
|
Parameter info (within method call arguments) |
|
Quick documentation lookup |
|
Brief Info |
|
Generate code… (Getters, Setters, Constructors) |
|
Override methods |
|
Implement methods |
|
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 |
|
Reformat code |
|
Auto-indent line(s) |
|
Duplicate current line or selected block |
|
Delete line at caret |
|
Smart line join (HTML and JavaScript only) |
|
Smart line split (HTML and JavaScript only) |
|
Start a new line |
|
Toggle case for word at caret or selected block |
|
Select till code block start |
|
Select till code block end |
|
Delete to word end |
|
Delete to word start |
|
Expand/collapse code block |
|
Close active editor tab |
|
Paste from history |
Debugging#
Shortcut |
Action |
|---|---|
|
Step over |
|
Step into |
|
Step out |
|
Evaluate expression |
|
Resume program |
|
Toggle breakpoint |
|
View breakpoints |
Running#
Shortcut |
Action |
|---|---|
|
Run |
|
Debug |
|
Run context configuration from editor |
|
Run command line |
Search/Replace#
Shortcut |
Action |
|---|---|
|
Find/Replace |
|
Find next |
|
Find previous |
|
Find/Replace in path |
Usage Search#
Shortcut |
Action |
|---|---|
|
Find usages |
|
Find usages in file |
|
Highlight usages in file |
|
Show usages |
Refactoring#
Shortcut |
Action |
|---|---|
|
Copy/Move |
|
Safe delete |
|
Rename |
|
Inline variable |
|
Extract Method/Variable/Field/Constant |
|
Refactor This (shows all available refactorings) |
VCS/Local History#
Shortcut |
Action |
|---|---|
|
VCS quick popup |
|
Commit project to VCS |
|
Update project from VCS |
|
View recent changes |
General#
Shortcut |
Action |
|---|---|
|
Search everywhere |
|
Find Action |
|
Open corresponding tool window |
|
Toggle full screen mode |
|
Toggle maximizing editor |
|
Add to Favorites |
|
Inspect current file with current profile |
|
Open Settings dialog |
|
Switch between tabs and tool window |
Live Templates/Snippets#
Shortcut |
Action |
|---|---|
|
Insert Live Template |
|
‘echo’ statement |
|
foreach(iterable_expr as $value) {…} |
|
foreach(iterable_expr as $key => $value) {…} |
|
‘include’/’include_once’ statement |
|
private function |
|
protected function |
|
public function |
|
‘require’/’require_once’ statement |
Misc#
Shortcut |
Action |
|---|---|
|
Find Action |
Also see#
Keyboard shortcuts for PhpStorm (resources.jetbrains.com)