Skip to content

Wichtige Shortcuts in PHPStorm

Code bearbeiten

AktionmacOSWindows
Zeile duplizieren⌘ command + DStrg + D
Zeile verschieben⌘ command + ⇧ shift + ↑/↓⇧ shift + Strg + ↑/↓
Auto-Code Formatieren⌘ command + ⌥ option + LStrg + Alt + L
Zeile oder Block kommentieren / auskommentieren⌘ command + /Strg + /
Block kommentieren / auskommentieren⌘ command + ⇧ shift + /⇧ shift + Strg + /

Selektieren und Mehrfach-Cursor

AktionmacOSWindows
Mehrfach-Cursor manuell setzen⌥ option + ClickAlt + Click
Nächste gleiche Stelle markieren / selektieren^ control + GAlt + J
Alle gleichen Stellen markieren / selektieren^ control + ⌘ command + GAlt + ⇧ shift + Strg + J
Markieren (Textauswahl erweitern)⇧ shift + ←/→⇧ shift + ←/→
Springen innerhalb von Wörtern⌥ option + ←/→Strg + ←/→
Springend markieren⇧ shift + ⌥ option + ←/→⇧ shift + Strg + ←/→

Suchen

AktionmacOSWindows
**Ü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.