PHPStorm DEFAULT KEYMAP (Mac)
To find any action inside the IDE use. Find Action ( ⇧ + ⌘ + A )
Keyboard Special Symbols for Mac
⌘ | Command |
⌥ | Option |
⌃ | Control |
⇧ | Shift |
⎋ | Esc |
↩ | Return |
⌤ | Enter |
⌫ | Delete |
⌦ | Forward Delete |
↑ | Up |
↓ | Down |
← | Left |
→ | Right |
Editing
⌃ + Space | Basic code completion |
⌥ + Enter | Show intention actions and quick-fixes |
⌘ + P | Parameter info (within method call arguments) |
⌃ + J | Quick documentation lookup |
⌘ + mouse over code | Brief Info |
⌘ + N | Generate code… (Getters, Setters, Constructors) |
⌃ + O | Override methods |
⌃ + I | Implement methods |
⌘ + ⌥ + T | 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 |
⌘ + ⌥ + L | Reformat code |
⌃ + ⌥ + I | Auto-indent line(s) |
⌘ + D | Duplicate current line or selected block |
⌘ + Del | Delete line at caret |
⌃ + ⇧ + J | Smart line join (HTML and JavaScript only) |
⌘ + Enter | Smart line split (HTML and JavaScript only) |
⇧ + Enter | Start new line |
⌘ + ⇧ + U | Toggle case for word at caret or selected block |
⌥ + ⇧ + ⌘ + ] / [ | Select till code block end/start |
⌥ + Forward + Delete | Delete to word end |
⌥ + Delete | Delete to word start |
⌘ + +/- | Expand/collapse code block |
⌘ + W | Close active editor tab |
⌘ + ⇧ + V | Paste from history |
Debugging
F8 | Step over |
F7 | Step into |
⇧ + F8 | Step out |
⌥ + F8 | Evaluate expression |
⌘ + ⌥ + F9 | Resume program |
⌘ + F8 | Toggle breakpoint |
⌘ + ⇧ + F8 | View breakpoints |
Running
⌃ + F10 | Run |
⌃ + F9 | Debug |
⌃ + ⇧ + R/D | Run context configuration from editor |
⌘ + ⇧ + X | Run command line |
Search/Replace
⌘ + F/R | Find/Replace |
[⌘/⌘ + ⇧] + G | Find next/previous |
⌘ + ⇧ + F/R | Find/Replace in path |
Usage Search
⌥ + F7 / ⌘ + F7 | Find usages / Find usages in file |
⌘ + ⇧ + F7 | Highlight usages in file |
⌘ + ⌥ + F7 | Show usages |
Navigation
⌘ + N | Go to class |
⌘ + ⇧ + N | Go to file |
⌘ + ⌥ + N | Go to symbol |
⌘ + [+] + G | Go to line |
⌃ + →/← | Go to next/previous editor tab |
⎋ | Go to editor (from tool window) |
⌘ + E | Recent files popup |
⌘ + ⌥ + ←/→ | Navigate back/forward |
⌘ + ⇧ + Backspace | Navigate to last edit location |
⌥ + F1 | Select current file or symbol in any view |
⌘ + B or ⌘ + Click | Go to declaration |
⌘ + ⌥ + B | Go to implementation(s) |
⌥ + Space, ⌘ + Y | Open quick definition lookup |
⌃ + ⇧ + B | Go to type declaration |
⌘ + U | Go to super-method/super-class |
⌃ + ↑/↓ | Go to previous/next method |
⌘ + ] / [ | Move to code block end/start |
F2 / ⇧ + F2 | Next/previous highlighted error |
F4 / ⌘ + ↓ | Edit source / View source |
Refactoring
F5/F6 | Copy/Move |
⌘ + Delete | Safe Delete |
⇧ + F6 | Rename |
⌘ + ⌥ + N | Inline Variable |
⌘ + ⌥ + M/V/F/C | Extract Method/Variable/Field/Constant |
⌃ + T | Refactor This (shows all available refactorings) |
VCS/Local History
⌃ + V | ‘VCS’ quick popup |
⌘ + K | Commit project to VCS |
⌘ + T | Update project from VCS |
⌥ + ⇧ + C | View recent changes |
General
Double ⇧ | Search everywhere |
⇧ + ⌘ + A | Find Action |
⌘ + [0-9] | Open corresponding tool window |
⌘ + ⌥ + F11 | Toggle full screen mode |
⌘ + ⇧ + F12 | Toggle maximizing editor |
⌥ + ⇧ + F | Add to Favorites |
⌥ + ⇧ + I | Inspect current file with current profile |
⌘ + , | Open Settings dialog |
⌃ + Tab | Switch between tabs and tool window |