1. Mac computer phpstorm shortcut keys
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 and use 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 active code prompt
ctrl alt t insert wrapping code at current position
alt insert generate code menu
ctrl q to view code comments
ctrl d copies the current line
ctrl y delete current line
shift F6 rename
ctrl shift u letter case conversion
ctrl ffind
ctrl r replace
F4 to view source code
ctrl shift i to view variable or method definition source
ctrl g jump to line
ctrl alt F12 jumps 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 quickly finds methods in the current class file
——————————————————————
phpstorm shortcut key:
// ctrl shift n 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 current line
// shift F6 rename
//ctrl shift u Convert letters to uppercase and lowercase
// ctrl f find
// ctrl r replace
// F4 View source code
// ctrl shift i View variable or method definition source
// ctrl g jump to line
// ctrl alt F12 jumps to the location of the current file on the disk
// alt down View next method
// alt up View previous method
// ctrl alt l reformat code
// ctrl shift down statement moves down
// ctrl shift up statement moves up
// alt shift down line moves 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 Quickly search for methods in the current class file