Home>Article>Development Tools> Summary of commonly used shortcut keys for PHPSTORM (experience summary)
This article brings you relevant knowledge about PHPSTORM shortcut keys. It mainly summarizes the shortcut keys that I often use in using phpstorm for many years. Let’s take a look at them together. I hope it will be helpful to friends in need. help.
Written in front
Only record some shortcut keys that I have been accustomed to using in the process of using phpstorm for many years. Although not comprehensive, it is basically sufficient.
For example: There are no shortcut keys related to version control, because I prefer to click the key combination in the upper right corner.
Commonly used Alt
Alt 1 shows/hides the Project directory structure
Alt 3 / Alt F7 Use the Find window
Alt 6 todo items
Alt 7 php file structure
Alt 9 version control
Alt T Terminal console (customized, original Alt F12)
Alt Insert quickly generates code or creates files
Alt left-click/right-click file switching
Alt up-key/down-key method switching
Find and replace
Ctrl F Search within files
Ctrl R Replace
Ctrl Shift F Global search
Ctrl Shift R Global replace
Shift F / Ctrl Shift A / Ctrl N / Ctrl Shift N / Ctrl Alt Shift N / Shift twice => All menu options Search
Edit those things
Ctrl Tab Recent Viewed file switch
Ctrl Shift F12 Maximum window
Ctrl G Position line
Ctrl E Pop recent files
Ctrl Alt left arrow/Ctrl Alt right Arrow up/down file navigation
Ctrl B / Ctrl Left mouse button for quick positioning
Ctrl Shift Backspace key to go back to the edited position
Ctrl ] / [ Move to Code block end/start
Ctrl Shift ] / [Select code block to end/start
Ctrl Q Display description document
Ctrl P View function parameters
Ctrl O Overload method.
Ctrl Shift Up/Down key to move code quickly
Ctrl Alt T Generate code branch statement
Ctrl / single line comment
Ctrl Shift / multiple lines Comment
Ctrl i Display the method to be implemented in the interface
Ctrl Alt L Format code
Ctrl D Copy the current line
Ctrl Y Delete the current OK.
Shift Enter Quick line wrapping
Ctrl W Quick selection
Ctrl Del Automatically delete backwards
Ctrl backspace Automatically delete forwards
Ctrl Shift U Case switch
Safe reconstruction
F5 Copy file
F6 Move file
Alt Del Safe delete
Shift F6 Rename (class name, variable name)
Ctrl Alt M Extraction method
Ctrl Alt F Extract attributes
Attached Plugins:
.env files support
PHP composer.json support
ideolog
JSON Parser
Laravel / Laravel Idea (paid )
Recommended study: "phpstorm usage tutorial"
The above is the detailed content of Summary of commonly used shortcut keys for PHPSTORM (experience summary). For more information, please follow other related articles on the PHP Chinese website!