Skip to content
PHPStorm icon

PHPStorm shortcuts for Mac

194 shortcuts · 12 categories

PHPStorm is an integrated development environment (IDE) specifically designed for PHP development that offers features such as code completion, refactoring, and debugging support. Download PHPStorm

Use these PHPStorm shortcuts from a pie menu

Access your favorite PHPStorm shortcuts instantly with Pie Menu. No more memorizing—just point and click.

Pie Menu with shortcuts
Hover a shortcut to add it to Pie Menu

Mac keyboard shortcuts for PHPStorm

Refactoring

  • Inline⌥ (option) + ⌘ (command) + n Add →
  • Introduce Parameter⌥ (option) + ⌘ (command) + p Add →
  • Introduce Constant⌥ (option) + ⌘ (command) + c Add →
  • Introduce Field⌥ (option) + ⌘ (command) + f Add →
  • Introduce Variable⌥ (option) + ⌘ (command) + v Add →
  • Extract Method⌥ (option) + ⌘ (command) + m Add →
  • Safe Delete⌘ (command) + ⌫ Add →
  • Copyf5 Add →
  • Movef6 Add →
  • Change Method Signature⌘ (command) + f6 Add →
  • Rename⇧ (shift) + f6 Add →

Navigation In Source Code

  • Navigate to Previous Highlighted Error⇧ (shift) + f2 Add →
  • Navigate to Next Highlighted Errorf2 Add →
  • Last Edit Location⇧ (shift) + ⌘ (command) + ⌫ Add →
  • Navigate to Next Occurrence⌥ (option) + ⌘ (command) + ↓ Add →
  • Navigate to Previous Occurrence⌥ (option) + ⌘ (command) + ↑ Add →
  • Forward⌘ (command) + ] Add →
  • Back⌘ (command) + [ Add →
  • Navigate to Closing Brace⌥ (option) + ⌘ (command) + ] Add →
  • Navigate to Opening Brace⌥ (option) + ⌘ (command) + [ Add →
  • Navigate to Previous Method⌃ (control) + ↑ Add →
  • Navigate to Next Method⌃ (control) + ↓ Add →
  • Go to Header/Sourcef10 Add →
  • Navigate to Related Symbol⌃ (control) + ⌘ (command) + ↑ Add →
  • Navigate to Test/Test Subject⇧ (shift) + ⌘ (command) + t Add →
  • Navigate to Super Method⌘ (command) + u Add →
  • Navigate to Type Declaration⇧ (shift) + ⌘ (command) + b Add →
  • Navigate to Implementation⌥ (option) + ⌘ (command) + b Add →
  • Navigate to Declaration⌘ (command) + b Add →
  • Navigate to Line⌘ (command) + l Add →
  • Navigate to Recently Opened File⌘ (command) + e Add →
  • Navigate to File⇧ (shift) + ⌘ (command) + o Add →
  • Navigate to Class⌘ (command) + o Add →
  • Type Hierarchy⌃ (control) + h Add →
  • Recent Files⌘ (command) + e Add →
  • Select target⌥ (option) + f1 Add →
  • File Structure Popup⌘ (command) + f12 Add →
  • Functionsh Add →

Differences

  • Move to Previous Difference⇧ (shift) + f7 Add →
  • Move to Next Differencef7 Add →

Views and Windows

  • Hide all tool windows⇧ (shift) + ⌘ (command) + f12 Add →
  • Jump to Last Windowf12 Add →
  • Hide Active Window⇧ (shift) + esc Add →
  • Switcher⌃ (control) + ⇥ Add →
  • Expand all⌘ (command) + num-plus Add →
  • Collapse all⌘ (command) + num- Add →
  • Select Target⌥ (option) + f1 Add →

Show Tool Windows

  • Show Terminal window⌥ (option) + f12 Add →
  • Show Commit window⌘ (command) + 0 Add →
  • Show Version Control window⌘ (command) + 9 Add →
  • Show Services window⌘ (command) + 8 Add →
  • Show Structure window⌘ (command) + 7 Add →
  • Show Problems window⌘ (command) + 6 Add →
  • Show Debug window⌘ (command) + 5 Add →
  • Show Run window⌘ (command) + 4 Add →
  • Show Find window⌘ (command) + 3 Add →
  • Show Favorites window⌘ (command) + 2 Add →
  • Show Project window⌘ (command) + 1 Add →

Navigation Between Bookmarks

  • Show Bookmarks⌘ (command) + f3 Add →
  • Toggle Bookmark with Mnemonic⌥ (option) + f3 Add →
  • Toggle Bookmarkf3 Add →
  • Go to Bookmark <number>⌃ (control) + number Add →

General

  • Reload All from Disk⌥ (option) + ⌘ (command) + y Add →
  • Show Intention Action⌥ (option) + ↵ Add →
  • Select Previous Tab⇧ (shift) + ⌘ (command) + [ Add →
  • Select Next Tab⇧ (shift) + ⌘ (command) + ] Add →
  • Save All⌘ (command) + s Add →
  • New...⌘ (command) + n Add →
  • Export to Text File⌃ (control) + o Add →
  • Escapeesc Add →
  • Edit Source⌘ (command) + ↓ Add →
  • Close Editor⌘ (command) + w Add →
  • Close Active Tab⌃ (control) + ⇧ (shift) + f4 Add →

Running and Debugging

  • View Breakpoints⇧ (shift) + ⌘ (command) + f8 Add →
  • Toggle breakpoint at the current line.⌘ (command) + f8 Add →
  • Quick Evaluate Expression⌥ (option) + ⌘ (command) + f8 Add →
  • Evaluate Expression⌥ (option) + f8 Add →
  • Stop Program⇧ (shift) + f2 Add →
  • Pause Program⌃ (control) + pause Add →
  • Resume Program⌥ (option) + ⌘ (command) + r Add →
  • Force Run To Cursor⌥ (option) + ⌘ (command) + f9 Add →
  • Run to Cursor⌥ (option) + f9 Add →
  • Force Step Into⌥ (option) + ⇧ (shift) + f7 Add →
  • Force Step Over⌥ (option) + ⇧ (shift) + f8 Add →
  • Step Out⇧ (shift) + f8 Add →
  • Smart Step Into⇧ (shift) + f7 Add →
  • Step Intof7 Add →
  • Step Overf8 Add →
  • Choose configuration and debug⌃ (control) + ⌥ (option) + d Add →
  • Debug⌃ (control) + d Add →
  • Rerun without loosing focus in the editor⌃ (control) + r Add →
  • Rerun⌘ (command) + r Add →
  • Choose configuration and run⌃ (control) + ⌥ (option) + r Add →
  • Run⌃ (control) + r Add →

Code Folding

  • Fold Selection / Remove region⌘ (command) + . Add →
  • Expand all to level 1⌥ (option) + ⌘ (command) + num*  1 Add →
  • Expand to level 1⌘ (command) + num*  1 Add →
  • Collapse All⇧ (shift) + ⌘ (command) + num- Add →
  • Expand All⇧ (shift) + ⌘ (command) + num-plus Add →
  • Collapse Recursively⌥ (option) + ⌘ (command) + num- Add →
  • Expand Recursively⌥ (option) + ⌘ (command) + num-plus Add →
  • Collapse⌘ (command) + num- Add →
  • Expand⌘ (command) + num-plus Add →

Basic Editing

  • Auto-Indent Lines⌃ (control) + ⌥ (option) + i Add →
  • Unindent Selection⇧ (shift) + ⇥ Add →
  • Indent Selection⇥ Add →
  • Unselect Word at Caret⌃ (control) + ⇧ (shift) + w Add →
  • Select Word at Caret⌃ (control) + w Add →
  • Split Line⌃ (control) + ↵ Add →
  • Join Lines⌃ (control) + ⇧ (shift) + j Add →
  • Start New Line Before Current One⌃ (control) + ⌥ (option) + ↵ Add →
  • Start New Line⇧ (shift) + ↵ Add →
  • Move to Code Block Start with Selection⌃ (control) + ⇧ (shift) + [ Add →
  • Move to Code Block Start⌃ (control) + [ Add →
  • Move to Code Block End with Selection⌃ (control) + ⇧ (shift) + ] Add →
  • Move to Code Block End⌃ (control) + ] Add →
  • Toggle Case⌃ (control) + ⇧ (shift) + u Add →
  • Duplicate Line or Block⌃ (control) + d Add →
  • Toggle Insert/Overwriteins Add →
  • Delete to Word Start⌃ (control) + ⌫ Add →
  • Delete to Word End⌃ (control) + ⌫ Add →
  • Delete Line at Caret⌃ (control) + y Add →
  • Select All⌃ (control) + a Add →
  • Move to Text Start with Selection.⌃ (control) + ⇧ (shift) + home Add →
  • Move to Text Start⌃ (control) + home Add →
  • Move to Text End with Selection⌃ (control) + ⇧ (shift) + end Add →
  • Move to Text End⌃ (control) + end Add →
  • Move to Previous Word with Selection⌃ (control) + ⇧ (shift) + ← Add →
  • Move to Previous Word⌃ (control) + ← Add →
  • Move to Next Word with Selection⌃ (control) + ⇧ (shift) + → Add →
  • Move to Next Word⌃ (control) + → Add →
  • Move to Line Start with Selection⇧ (shift) + home Add →
  • Move to Line Starthome Add →
  • Move to Line End with Selection⇧ (shift) + end Add →
  • Move to Line Endend Add →
  • Scroll Up⌃ (control) + ↑ Add →
  • Scroll to Center⌃ (control) + m Add →
  • Scroll Down⌃ (control) + ↓ Add →
  • Page Up with Selection⇧ (shift) + pageup Add →
  • Page Uppageup Add →
  • Page Down with Selection⇧ (shift) + pagedown Add →
  • Page Downpagedown Add →
  • Go to Page Top with Selection⌃ (control) + ⇧ (shift) + pageup Add →
  • Go to Page Top⌃ (control) + pageup Add →
  • Go to Page Bottom with Selection⌃ (control) + ⇧ (shift) + pagedown Add →
  • Go to Page Bottom⌃ (control) + pagedown Add →
  • Right with Selection⇧ (shift) + → Add →
  • Right→ Add →
  • Left with Selection⇧ (shift) + ← Add →
  • Left← Add →
  • Down with Selection⇧ (shift) + ↓ Add →
  • Down↓ Add →
  • Up with Selection⇧ (shift) + ↑ Add →
  • Up↑ Add →
  • Paste from History⌃ (control) + ⇧ (shift) + v Add →
  • Paste⌃ (control) + v Add →
  • Copy⌃ (control) + c Add →
  • Cut⌃ (control) + x Add →
  • Redo⌃ (control) + ⇧ (shift) + z Add →
  • Undo⌃ (control) + z Add →
  • Backspace⌫ Add →
  • Delete⌫ Add →
  • Tab⇥ Add →
  • Enter↵ Add →

Advanced Editing

  • Previous Template Variable⇧ (shift) + ⇥ Add →
  • Next Template Variable⇥ Add →
  • Surround with Live Template...⌥ (option) + ⌘ (command) + j Add →
  • Insert Live Template...⌘ (command) + j Add →
  • Expand Word⌥ (option) + / Add →
  • SmartType Code Completion⌃ (control) + ⇧ (shift) + space Add →
  • Basic Code Completion⌃ (control) + space Add →
  • Surround with...⌥ (option) + ⌘ (command) + t Add →
  • Override Methods...⌃ (control) + o Add →
  • External Documentation⇧ (shift) + f1 Add →
  • Error Description⌘ (command) + f1 Add →
  • Context Info⌃ (control) + ⇧ (shift) + q Add →
  • Parameter Info⌘ (command) + p Add →
  • Pop-up Hector⌥ (option) + ⇧ (shift) + ⌘ (command) + h Add →
  • Show Table Dataf1 Add →
  • Quick Documentation Look-upf1 Add →
  • Comment with Block Comment⌥ (option) + ⌘ (command) + / Add →
  • Comment with Line Comment⌘ (command) + / Add →

Download Keyboard Cheat Sheet for PHPStorm for Mac

Do you want all keyboard shortcuts for PHPStorm in one pdf?

Cheat sheet

Community shortcuts for PHPStorm

Be the first to share — open Pie Menu → PHPStorm → Share Config

View community page →
Pie Menu

Get started with Pie Menu today.

The convenience of shortcuts without the memorization!