Home > Article > Backend Development > Detailed explanation of some shortcut keys of phpstrom
This article mainly shares with you the detailed explanation of some shortcut keys of phpstrom. It is mainly shared with you in the form of code. I hope it can help you.
Ctrl+ c Paste
Ctrl+ v Copy
Ctrl+ z Backward
Ctrl+shift+ z Forward
Ctrl+ b Function tracing, Personally used Ctrl+click
Ctrl+F Query
Ctrl+G Jump to the specified line number
Ctrl+ e List recently opened files
Ctrl+ / Line comment
ctrl + shift + / Block comment
Ctrl+ shift + f Global search
Ctrl + Alt + l Automatic indentation and typesetting
Tab+shift Unindent the selected content
ctrl+alt+L Reformat the code (conflicts with the lock qq shortcut key and can be re-customized)
Ctrl+Shift+V Pasteboard, select the recent content that needs to be pasted
Ctrl+R Replace
Ctrl+ shift + u switch case
shift + Ctrl+ c copy the path of the current file
ctrl+n search class
Ctrl+alt +F7 View where a method is called
ctrl+space code prompt
Ctrl + j Display commonly used code snippets
Ctrl+F12 View the current file path, double-click to display the file location directly in the folder.
Ctrl+ shift + + / command + shift + - Fold/expand all blocks
control + tab / control + shift + tab switch to open File
alt + F12 Open the command line bar
ctrl+d Copy the current line to the next line
ctrl+y Delete the current line
ctrl+. When the input method is not called, collapse the current method Code
alt+up/down arrow jump to the previous/next method
ctrl + b jump to variable declaration
CTRL + N class name Search
CTRL + SHIFT + N File name search
CTRL + SHIFT + ALT + N Function name search
Press shift twice to support separate searches for class names, file names, method names, etc. Commonly used ones are all Search
ctrl + b or ctrl+click method variables to quickly find
alt + F7 to find where the function or class is called
Related recommendations:
PHPstorm shortcut key summary sharing
phpStorm shortcut key summary sharing (collection)
phpstorm commonly used shortcut keys collection
The above is the detailed content of Detailed explanation of some shortcut keys of phpstrom. For more information, please follow other related articles on the PHP Chinese website!