Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save alimarchal/6a18190b415d0a622c6763d6ff563f0b to your computer and use it in GitHub Desktop.
Save alimarchal/6a18190b415d0a622c6763d6ff563f0b to your computer and use it in GitHub Desktop.
Frequently Used PhpStorm Keyboard Shortcuts

Note: Some of these shortcuts have been remapped for my own convenience (Preferences->Keymap). These are Mac shortcuts, just use the Windows/Linux equivalent of the Cmd/Option/Ctrl/Del keys.

####Search, Go to, Navigation ####

Cmd + P - Search file

Cmd + Shift + O - Search everywhere

(I swapped the above two recently because I use Cmd + P to search for files most of the time).

Cmd + O - Open Class

Cmd + R - Go to Symbol

Cmd + L - Go to Line

Cmd + Shift + E - Navigate recently edited files

Cmd + Up - Navigate Folders (goodbye sidebar)

Cmd + Shift + F - Search for text in a folder or entire project

Cmd + Shift + Del - Go to last edit location (Thanks Laracasts)

IDE Goodness

Cmd + J - Insert Live Template (snippet)

Option + Enter - Show intention actions

Ctrl + T - Refactor This

Mothership

Cmd + Shift + A - The shortcut to all shortcuts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment