Shortcut key + function
command + d copy the current line or selected block
command + f find the current document
command + g jump to a certain line and a certain column of the document
command + p display parameter information
command + r replace the current document
command + w select the current word, line, block, etc.
command + y delete the entire line
command + mouseover display the main information
command + [Move the cursor to the front of the code block
command + ]Move the cursor to the end of the code block
command + +fold the block
command + -expand the block
command + ->move the cursor to the end of the line
command + <-move the cursor to the beginning of the line
command + option + t include the code in a certain format
command + option + l format the code
command + shift + u switch case
command + shift + [select to before the code block
command + shift + ]select to the end of the code block
command + shift + +fold all blocks
command + shift + -expand all blocks
shift + return Wrap lines at any position
control + shift + ffind in path
control + shift + j merge lines
control + shift + rreplace in path
option + delete delete to word start
option + fn + delete delete to word end
option + ->Move the cursor in units of words
option + <-Move the cursor in units of words
1 webstorm shortcut keys:
IntelliJ-Idea shortcut keys
Ctrl+/or Ctrl+Shift+/ Comment (//or /…/)
Shift+F6 Refactor-Rename
Ctrl+X delete row
Ctrl+D copy row
Ctrl+G find row
Ctrl+Shift+Up /Down Code moves up/down.
F2 or Shift+F2 highlight errors or warnings for quick positioning
Write code, press Tab to generate code
Select the text, press Ctrl+Shift+F7
Highlight all the text, press Esc to high The light disappears.
Ctrl+B quickly open the class or method at the cursor
Ctrl+E recently opened file
Alt+F1 find the location of the code
Ctrl+Alt+L format the code
Ctrl+ R Replace text
Ctrl+F find text
Ctrl+P method parameter prompt
Ctrl+shift+c copy file path
Ctrl+alt+shift+c copy related data including path and line< br>Ctrl+shift+v Paste from the history record
ctrl+Y delete the entire line
ctrl+shift+enter create a new line
ctrl+alt+enter create a new line before the current line
< p>Learn more about WebStorm Mac