Skip to content

Instantly share code, notes, and snippets.

@koomai
Last active September 14, 2024 00:46
Show Gist options
  • Save koomai/9340189 to your computer and use it in GitHub Desktop.
Save koomai/9340189 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

@shakyakrishna
Copy link

Alt+1 worked for me :)

@uluQulu
Copy link

uluQulu commented Jun 9, 2022

Alt + 1 - to toggle sidebar

@terdia thank you for sharing the shortcut, it works well.

@devlubinets
Copy link

thanks!

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