Wichtige Shortcuts in PHPStorm
Code bearbeiten
| Aktion | macOS | Windows |
|---|---|---|
| Zeile duplizieren | ⌘ command + D | Strg + D |
| Zeile verschieben | ⌘ command + ⇧ shift + ↑/↓ | ⇧ shift + Strg + ↑/↓ |
| Auto-Code Formatieren | ⌘ command + ⌥ option + L | Strg + Alt + L |
| Zeile oder Block kommentieren / auskommentieren | ⌘ command + / | Strg + / |
| Block kommentieren / auskommentieren | ⌘ command + ⇧ shift + / | ⇧ shift + Strg + / |
Selektieren und Mehrfach-Cursor
| Aktion | macOS | Windows |
|---|---|---|
| Mehrfach-Cursor manuell setzen | ⌥ option + Click | Alt + Click |
| Nächste gleiche Stelle markieren / selektieren | ^ control + G | Alt + J |
| Alle gleichen Stellen markieren / selektieren | ^ control + ⌘ command + G | Alt + ⇧ shift + Strg + J |
| Markieren (Textauswahl erweitern) | ⇧ shift + ←/→ | ⇧ shift + ←/→ |
| Springen innerhalb von Wörtern | ⌥ option + ←/→ | Strg + ←/→ |
| Springend markieren | ⇧ shift + ⌥ option + ←/→ | ⇧ shift + Strg + ←/→ |
Suchen
| Aktion | macOS | Windows |
|---|---|---|
| **Überall suchen ** | ⇧ shift + ⇧ shift | ⇧ shift + ⇧ shift |
Tipp:
Viele Shortcuts können in den PHPStorm Preferences → Keymap angepasst oder exportiert werden.
Zur Vereinheitlichung empfiehlt sich die Nutzung des Standard-Keymaps Mac OS X bzw. Windows Default innerhalb des Teams.
