Developer ToolsMacOSShortcutsWindows

90 JetBrains PhpStorm Keyboard Shortcuts

It’s every developer’s dream to be more efficient in the field of development. And the number one rule is to train yourself with keyboard shortcuts. PhpStorm comes with a vast set of features and PhpStorm Shortcuts that will help you streamline your workflow. PhpStorm is an integrated development environment for PHP and web designers.

Download JetBrains PhpStorm Shortcuts PDF

The keymap in PhpStorm itself is considered a set of PhpStorm Shortcuts. Here, you will find a list of actions with their corresponding keyboard and mouse shortcuts. There might be conflicts with global shortcuts, so to avoid such conflicts, we have listed down the PhpStorm Shortcuts below. Download the PhpStorm Shortcuts list in PDF format.

Editing Shortcuts

Action PhpStorm Shortcuts Windows PhpStorm Shortcuts Mac
Copy Ctrl + C Command + C
Paste Ctrl + V Command + V
Cut Ctrl + X Command + X
Generate Code Alt + Insert Option + Insert
Override Methods Ctrl + O Command + O
Implements Method Ctrl + I Command + I
Basic Code Completion Ctrl + Spacebar Command + Spacebar
Class name Completion Ctrl + Alt + Spacebar Command + Option + Spacebar
Complete Statement Ctrl + Shift + Enter Command + Shift + Return
Quick Documentation Lookup Ctrl + Q Command + Q
Parameter Information Ctrl + P Command + P
Move Line Up Alt + Shift + Up Arrow key Option + Shift + Up Arrow key
Move Line Down Alt + Shift + Down Arrow key Option + Shift + Down Arrow key
Surround With.. Ctrl + Alt + T Command + Option + T
Comment or Uncomment with Line Comment Ctrl + / Command + /
Comment or Uncomment with Block Comment Ctrl + Shift + / Command + Shift + /
Show Intention Actions and Quick Fixes Alt + Enter Option + Return
Reformat Code Ctrl + Alt + L Command + Option + L
Duplicate Current Line Ctrl + D Command + D
AutoIndent Lines Ctrl + Alt + I Command + Option + I
Delete line at caret Ctrl + Y Command + Y
Start New line Shift + Enter Shift + Return
Close Active Editor Tab Ctrl + F4 Command + F4
Decrease Current Selection to Previous State Ctrl + Shift + W Command + Shift + W
Select Successively Increasing Code blocks Ctrl + W Command + W
Expand Code block Ctrl + + Command + +
Collapse Code block Ctrl + – Command + –
Delete to end word Ctrl + Delete Command + Delete
Delete to Word and start Ctrl + Backspace Command + Backspace
Select till the code block end Ctrl + Shift + ] Command + Shift + ]
Select till the code block starts Ctrl + Shift + [ Command + Shift + [
Switch case for Word at Caret Ctrl + Shift + U Command + Shift + U

Similar Programs: AWS Cloud9 Keyboard Shortcuts

Navigation Shortcuts

Action Phpstorm Shortcuts Windows Phpstorm Shortcuts Mac
Go to Class Ctrl + N Command + N
Go to File Ctrl + Shift + N Command + Shift + N
Go to Symbol Ctrl + Alt + Shift + N Command + Option + Shift + N
Next highlighted Error F2 F2
Previous highlighted Error Shift + F2 Shift + F2
Go to Line Ctrl + G Command + G
Recent files Popup Ctrl + E Command + E
Select current file Alt + F1 Option + F1
Go to the Next Tab Alt + Left Arrow key Option + Left Arrow key
Go to the Previous Tab Alt + Right Arrow key Option + Right Arrow key
Go to Declaration Ctrl + B Command + B
Go to Implementation Ctrl + Alt + B Command + Option + B
Go to Type Declaration Ctrl + Shift + B Command + Shift + B
Navigate back Ctrl + Alt + Left Arrow key Command + Option + Left Arrow key
Navigate forward Ctrl + Alt + Right Arrow key Command + Option + Right Arrow key
Go to super method or superclass Ctrl + U Command + U
Move to code block end Ctrl + ] Command + ]
Move to code block start Ctrl + [ Command + [
Go to Previous Method Alt + Up Arrow key Option + Up Arrow key
Go to the Next Method Alt + Down Arrow key Option + Down Arrow key
Show Navigation bar Alt + Home key Option + Home key
Edit Source F4 F4
View Source Ctrl + Enter Command + Return

Similar Programs: Aptana Studio Keyboard Shortcuts

Debugging Shortcuts

Action Phpstorm Shortcuts Windows Phpstorm Shortcuts Mac
Step Out Shift + F8 Shift + F8
Step Over F8 F8
Step Into F7 F7
Evaluate Expression Alt + F8 Option + F8
Toggle Breakpoint Ctrl + F8 Command + F8
View Breakpoints Ctrl + Shift + F8 Command + Shift + F8
Resume Program F9 F9

Compile and Run Shortcuts

Action Phpstorm Shortcut keys Windows Phpstorm Shortcut keys Mac
Run Command Line Ctrl + Shift + X Command + Shift + X
Run Shift + F10 Shift + F10
Debug Shift + F9 Shift + F9
Run Context Editor from Editor Ctrl + Shift + F10 Command + Shift + F10

Similar Programs: NetBeans Keyboard Shortcuts

Find & Replace Shortcuts

Action Phpstorm Shortcuts Windows Phpstorm Shortcuts Mac
Find Ctrl + F Command + F
Replace Ctrl + R Shift + F10
Find Next F3 F3
Find Previous Shift + F3 Shift + F3
Find in Path Ctrl + Shift + F Command + Shift + F
Replace in Path Ctrl + Shift + R Command + Shift + R

Refactoring Shortcuts

Action Phpstorm Shortcut keys Windows Phpstorm Shortcut keys Mac
Copy F5 F5
Move F6 F6
Rename Shift + F6 Shift + F6
Safe Delete Alt + Delete Option + Delete
Inline Variable Ctrl + Alt + N Command + Option + N
Extract Method Ctrl + Alt + M Command + Option + M
Extract Field Ctrl + Alt + F Command + Option + F
Extract Constant Ctrl + Alt + C Command + Option + C
Extract Variable Ctrl + Alt + V Command + Option + V

Similar Programs: Eclipse IDE Keyboard Shortcuts

Other JetBrains PhpStorm Shortcuts

Action Phpstorm Shortcut keys Windows Phpstorm Shortcut keys Mac
Find Usage in File Ctrl + F7 Command + F7
Find Usage Alt + F7 Option + F7
Highlight Usage in File Ctrl + Shift + F7 Command + Shift + F7
Show Usage Ctrl + Alt + F7 Command + Option + F7
Commit Project to VCS Ctrl + K Command + K
Update Project from VCS Ctrl + T Command + T
View Recent Changes Ctrl + Shift + E Command + Shift + E
VCS Operations Popup Alt + ‘ Option + ‘
Insert Live Template Ctrl + J Command + J

Everyone has their favorite code editors, and mine is PhpStorm. It’s a powerhouse packed with productive features and is different from the standard text editor. Visual Studio Code is another high-standard text editor, but it doesn’t quite match up to PhpStorm’s standards. Take a look at the Visual Studio Code Shortcuts list here.

READ NEXT:

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button