90 JetBrains PhpStorm Keyboard Shortcuts

for Windows & Mac

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

Download JetBrains PhpStorm Shortcuts PDF

The keymap in PhpStorm is itself considered as a PhpStorm Shortcuts. Here you will find a list of actions with the corresponding keyboard and mouse shortcuts. There might be a conflict with global shortcuts. Hence to avoid such a conflict we have listed down the PhpStorm Shortcuts below. Download the PhpStorm Shortcuts list in the form of a PDF.

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 start Ctrl + Shift + [ Command + Shift + [
Switch case for Word at Caret Ctrl + Shift + U Command + Shift + U

Read More: 30 Amarok Shortcuts for Windows

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 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 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

Read More: 25 Gwenview Shortcuts for Linux

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

Read More: 35 KDevelop Shortcuts for Linux

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

Read More: 70 Dynamics CRM Shortcuts for Windows

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 editors while coding and mine are PhpStorm. It’s a powerhouse packed with productive features and different from the standard text editor. Visual Studio Code is yet another high-standard text editor but it won’t match the PhpStorm standards. Go through the Visual Studio Code Shortcuts list here.


What is JetBrains PhpStorm?

JetBrains PhpStorm is a commercial Integrated Development Environment (IDE) for PHP, developed by JetBrains. It provides code analysis, debugging, testing, and other useful features for PHP web development.

Does PhpStorm support other programming languages besides PHP?

Yes, PhpStorm supports other programming languages such as JavaScript, HTML, CSS, and SQL.

Does PhpStorm integrate with version control systems?

Yes, PhpStorm integrates with popular version control systems like Git, SVN, and Mercurial. It provides tools for committing changes, merging code, and resolving conflicts.

What debugging tools does PhpStorm provide?

PhpStorm provides advanced debugging tools for PHP, including step-by-step debugging, remote debugging, and debugging of command-line scripts. It also supports Xdebug, a popular PHP debugging extension.


Leave a Reply

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

Back to top button