| Action | Windows | macOS |
|---|---|---|
| Optimize imports | Ctrl + Alt + O | β₯ + β + O |
| Open Project Settings | Ctrl + Shift + Alt + S | β + ; (Preferences) |
| Create test class | Ctrl + Shift + T | β§ + β + T |
| Run | Shift + F10 | β + R |
| Action | Windows | macOS |
|---|---|---|
| Open Commit Window | Ctrl + K | β + K |
| Push to Remote | Ctrl + Shift + K | β§ + β + K |
| Action | Windows | macOS |
|---|---|---|
| File structure / members | Ctrl + F12 | β + F12 |
| Search everywhere | Double Shift | Double β§ |
| Find in files | Ctrl + Shift + F | β§ + β + F |
| Show documentation | Ctrl + Q | F1 |
| Quick definition (show function) | Ctrl + Shift + I | β₯ + Space |
| Next code issue / error | F2 | F2 |
| Go to file | F4 | β + β (or Enter in Project View) |
| Action | Windows | macOS (PhpStorm) |
|---|---|---|
| Go to declaration | Ctrl + B | β + B |
| Go to implementation | Ctrl + Shift + B | β₯ + β + B |
| Go back | Ctrl + Alt + Left | β + [ |
| Go forward | Ctrl + Alt + Right | β + ] |
| Go to cursor location / Mark | Ctrl + M | β + M (customizable) |
| Go to line number | Ctrl + G | β + L |
| Switcher (Recent files / previous class) | Ctrl + Tab | β + Tab |
| Show current file in Project View | Alt + F1 β 1 | β₯ + F1 β 1 |
| Action | Windows | macOS (PhpStorm) |
|---|---|---|
| Reformat Code | Ctrl + Alt + L |
β₯ + β + L |
| Block Word / Extend Selection | Ctrl + W |
β₯ + β |
| Shrink Selection | Ctrl + Shift + W |
β₯ + β |
| Select Same Word | Alt + J |
β + G |
| Select All Same Words | Ctrl + Alt + Shift + J |
β + β + G |
| Delete Line | Ctrl + Y |
β + β« |
| Duplicate Line | Ctrl + D |
β + D |
| Surround With (if, try, etc.) | Ctrl + Alt + T |
β₯ + β + T |