My Keymap for PhpStorm

The article was last updated on 2017–01–18

Over the many years I have been using PhpStorm I have made a lot of changes to the default keymap to make it easier to remember and use. The following tables sum up the most important keyboard shortcuts I personally use.

The entire keymap is also available for download.

Navigation

Ctrl + E go to almost anything
Ctrl + R go to method of current class
Ctrl + O go to class
Ctrl + Shift + O go to symbol
Ctrl + P go to file
Ctrl + Shift + P go to action or setting
Ctrl + Alt + P go to another project
Ctrl + B go to declaration
Ctrl + G go to line
Alt + Left go back
Alt + Right go forward

User Interface

F12 hide all windows
F11 jump to last window
F10 show settings
Alt + 1 toggle project view
Alt + 8 toggle database view
Alt + Home show navigation bar
Ctrl + Num 6 split vertically
Ctrl + Num 2 split horizontally

Writing Code

Generating
Ctrl + Space code completion
Ctrl + Enter complete statement
Ctrl + J surround with
Ctrl + Shift + J insert live template
Ctrl + M clone line
Alt + Insert generate (override methods, getters, setters…)
Refactoring
Ctrl + T, T refactor popup
Ctrl + T, R rename
Ctrl + T, I inline
Ctrl + T, F extract field
Ctrl + T, V extract variable
Ctrl + T, M extract method
Ctrl + T, C extract constant
Ctrl + T, S change signature
Ctrl + Shift + Up move statement up
Ctrl + Shift + Down move statement down
Alt + Shift + Up move line up
Alt + Shift + Down move line down
Getting info
Ctrl + I show parameter info
Ctrl + U find usages
Selecting text
Alt + Up extend selection
Alt + Down shrink selection
Ctrl + D select next occurrence
Ctrl + Shift + D unselect next occurrence
Ctrl + N clone caret to line below
Ctrl + Shift + N clone caret to line above

Installation

Download phpstorm-keymap-2017.jar and in the main menu select File → Import Settings

Bonus: Download phpstorm-live-templates-2017.jar

Článek byl publikován 18. 1. 2017 10:45

Komentáře

Patrik Kristian

ó děkuji ti velký pane

Odpovědět
Lukáš Kováč

Super, konečne sa to dá poriadne používať :) Ďakujem.

Odpovědět
Dávid Ďurika

vedel by si sem doplnit este pls to ako sa tie akcie volaju v phpStorme, dik

Odpovědět
Tom

Super, ale prosim oprav link na stahnuti at muzem stahovat, diky :)

Odpovědět
Marek

super díky, mohl bych ještě poprosit o ty livetemplate co zminuješ na videu z poslední soboty?

Odpovědět
David Krupička

Díky moc!

Odpovědět
Kejli

Taky hrozně díky

Odpovědět

Přidat komentář

 

Navigace


Kontakt

Jan Tvrdík
ICQ: 238-999-481
MSN: jan.tvrdik@live.com