PHPStorm shortcuts
- 48 shortcuts
- 6 sections
- Development
- Verified against official docs
Your answer helps keep this page right.
Do these shortcuts work for you?
The Editing section has Code Completion, Context Actions, Parameter Info and Generate. The other sections cover navigation, search, running and debugging, refactoring and version control, and tool windows.
Start with these
- Code Completion
- Context Actions
- Parameter Info
- Reformat Code
- Find Action
- Go To Declaration
Tips for PHPStorm
- Extend Selection ⌥↑ and Shrink Selection ⌥↓ use the up and down arrow keys with the same modifier.
- Reformat Code ⌥⌘L reformats the code.
- Line Comment ⌘/ and Block Comment ⌥⌘/ comment code out, and back in.
Editing12
| Action | Shortcut |
|---|---|
| Duplicate Line | |
| Delete Line | |
| Complete Statement | |
| Line Comment | |
| Block Comment | |
| Extend Selection | |
| Shrink Selection | |
| Context Actions | |
| Reformat Code | |
| Code Completion | |
| Generate | |
| Parameter Info |
Find & Replace4
| Action | Shortcut |
|---|---|
| Find | |
| Replace | |
| Find In Path | |
| Replace In Path |
Run & Debug7
| Action | Shortcut |
|---|---|
| Run | |
| Debug | |
| Step Over | |
| Step Into | |
| Step Out | |
| Toggle Breakpoint | |
| Evaluate Expression |
Refactoring & VCS6
| Action | Shortcut |
|---|---|
| Refactor This | |
| Rename | |
| Extract Variable | |
| Extract Method | |
| Commit | |
| Vcs Operations |
Tool Windows7
| Action | Shortcut |
|---|---|
| Project Window | |
| Run Window | |
| Debug Window | |
| Structure Window | |
| Vcs Window | |
| Terminal | |
| Settings |
Report a problem
GitHub is public. Email is private.
Related resources
More Development shortcuts
Explore more macOS apps
Frequently Asked Questions
How many keyboard shortcuts does PHPStorm have on macOS?
PHPStorm has 48 keyboard shortcuts on macOS, organized into 6 sections: Search & Navigation, Editing, Find & Replace, Run & Debug, and more. This page lists all of them with searchable, organized shortcut tables.
Which PHPStorm shortcuts should I learn first?
Start with Code Completion (⌃Space), Context Actions (⌥↩), Parameter Info (⌘P), Reformat Code (⌥⌘L), Find Action (⇧⌘A), Go To Declaration (⌘B). The sections on this page list the rest.
Can I download PHPStorm shortcuts as a PDF?
Yes. Click the download button at the top of this page to generate a printable PDF cheat sheet with all 48 PHPStorm shortcuts. The PDF includes organized sections, keycap-style key labels, and space for your own notes.
Where is the official PHPStorm keyboard shortcuts documentation?
The official PHPStorm keyboard shortcuts documentation is available on their website. Every shortcut on this page is sourced from and verified against the official documentation to ensure accuracy.
Do these PHPStorm shortcuts work on all Mac keyboards?
Yes. These shortcuts work on all Mac keyboards, including MacBook built-in keyboards and external Apple keyboards. The modifier keys are Command (⌘), Option (⌥), Control (⌃), and Shift (⇧). On keyboards without a Function row, some F-key shortcuts may require holding the Fn key.
Maintained by Vladik Didyk
Access PHPStorm shortcuts from your menu bar
KeyShortcut detects the active app and shows its shortcuts instantly. Switch it on in Settings. No memorization needed.
