PHP Storm Cheatsheet
Hide / Show
command 1 hide show project window command p show parameters when cursor in between parenthesis shift shift then go to actions, show ideaction
Search
Search anywhere shift shift Preview search command shift F
Navigate
control tab go to open file command up arrow navigate to files, you can delete files
Switch project command shift p
Open settings command ,
command shift o open file shift command e view recent code
Navigate to variable or class declaration command b Open close terminal option f12
Navigate to file path in code command option f12
Highlight usages
shift command f7 + command g to scroll through the usages
Comment
Use shortcuts to comment and uncomment lines and blocks of code: command / for single line comments option command / for block comments
Git
commit
add current file command option a
command k
Push
command shift k
Local history
file | local history | show history |
Editing code
command . how to jump to file explorer
Format code
alt shift up-arrow/down-arrow move code up and down. Can also use with visual selection of multiple selected lines.
command +, command - fold code blocks.
option command L
Terminal Pro
Alt-F12 - Open the Terminal tool window and move focus to it Ctrl+Shift+T - Create a new session Ctrl+L- Clear console output Ctrl+O - Open/Close File Manager Alt+Up - Move the caret to the console from the command input field. Moves caret to the previous command output if the focus is already on the console Alt+Down - (when the caret is in the console) Move the caret to the next command output or to the command input field Ctrl+R - Show command history
