This article mainly introduces the PHP IDE phpstorm common shortcut keys. This article lists the phpstorm shortcut keys under mac system and Windows system respectively. Friends in need can refer to it
1. phpstorm shortcut keys for mac computer
command a select all
command c copy
command v paste
command z undo
command k code search
Command l Enter the line number to jump to a certain line
command o View the structure of a class
command / single line comment
Command e lists the last opened files
ctrl shift/block comment
shift command x
shift command r Search the path of the corresponding file by file name
Shift command t Search the path of the corresponding file by class name
shift command c copies the path of the current file
Select the file name on the left with shift f6 (mac needs to hold down the keys at the same time) to rename the file
2. Shortcut keys for phpstorm under windows
ctrl shift nfind file
ctrl shift f Find a piece of code in a directory (an upgraded version of ctrl f)
ctr shift r Find a piece of code in a directory and replace it (an upgraded version of ctrl r)
CTRL ALT ←/→ Return to the last edited position
ALT ←/→ Switch code view, label switching
ALT ↑/↓ Quickly move positioning between methods
ctrl j insert activity code prompt
ctrl alt tinsert wrapping code at the current position
alt insert generate code menu
ctrl q to view code comments
ctrl d copies the current line
ctrl y deletes the current line
shift F6 rename
ctrl shift u letter case conversion
ctrl f search
ctrl r replaces
F4 to view source code
ctrl shift i to view variable or method definition source
ctrl g jump to line
ctrl alt F12 jump to the location of the current file on the disk
Alt down to view the next method
Alt up to view the previous method
ctrl alt lReformat code
ctrl shift downstatement move down
ctrl shift upstatement move up
alt shift downline move down
alt shift upline move up
ctrl/line comment
ctrl shift/block comment
ctrl shift n to open the file in the project
ctrl b jumps to variable declaration
ctrl [] matches {}[]
ctrl shift ]/[select block code
ctrl x cut line
ctrl shift v copy multiple texts
alt left/right label switching
ctrl p displays default parameters
ctrl F12 to quickly find methods in the current class file
——————————————————————–
phpstorm shortcut key:
//ctrl shift n to find files
// ctrl j insert activity code prompt
// ctrl alt t insert wrapping code at the current position
// alt insert generate code menu
//ctrl q View code comments
// ctrl d copies the current line
// ctrl y delete the current line
// shift F6 rename
// ctrl shift u Convert letters to uppercase and lowercase
// ctrl f search
// ctrl r replaces
// F4 View source code
// ctrl shift i View variable or method definition source
//ctrl g jump line
// ctrl alt F12 jumps to the location of the current file on the disk
// alt down to view the next method
// alt up View the previous method
// ctrl alt l reformat the code
// ctrl shift down statement moves downwards
// ctrl shift up statement moves up
// alt shift down line move down
// alt shift up line moves up
//ctrl/line comment
//ctrl shift/block comment
// ctrl shift n open the file in the project
// ctrl b jump to variable declaration
// ctrl [] matches {}[]
// ctrl shift ]/[ select block code
….
// ctrl x cut line
//ctrl shift v copy multiple texts
// alt left/right label switching
// ctrl p displays default parameters
// ctrl F12 to quickly find methods in the current class file