webstorm shortcut manual

Ctrl+/ or Ctrl+Shift+/ Comment (// or /*…*/ )

Shift+F6 Refactor - Rename

Ctrl+X delete line

Ctrl+D Duplicate line

Ctrl+G find line

Ctrl+Shift+Up/Down code moves up/down.

F2 or Shift+F2 to highlight errors or warnings for quick positioning

Write code, press Tab to generate code

Select the text, press Ctrl+Shift+F7 to highlight all the text, press Esc the highlight disappears. (Because of this function, I can give up sublime with confidence)

Ctrl+B or Ctrl+left mouse button click to quickly open the class or method at the cursor, (NB function)

Ctrl + Alt + BGo to implementation(s) Jump method implementation

Ctrl + Shift + IOpen quick definition lookup

Alt + Up/DownGo to previous/next method Jump to previous/next method

Ctrl+E recently opened files

Alt+F1 to find the location of the code

Ctrl+Alt+L format code

Ctrl+R replace text

Ctrl+F find text

Ctrl+P method parameter prompt

F3 find next

Shift+F3 to find the previous

alt+Shift+F Add the current file to favorites

ctrl+alt+s to open the configuration window

ctrl+Shift+N Quickly find files in the project by file name (required)

ctrl+Shift+alt+N Quickly find the location by a character (required)

Shift+enter to start a new line (regardless of where the cursor is)

Ctrl + Alt + T with…(if, else, try, catch, for, etc) Surround selected lines of code with *, (* includes if, while, try catch, etc.)

Ctrl + Shift + UToggle case for word at caret or selected block Cursor position case

Ctrl + DeleteDelete to word end Delete the end of the word

Ctrl + BackspaceDelete to word start delete the word start

Ctrl + ERecent files popup pops up recently opened files

F11Toggle bookmark toggle mark, I think it is better to call bookmark, it is F2 of sublime text

Ctrl + Shift + F12Toggle maximizing editor

Alt + Shift + FAdd to Favorites Add to Favorites

  

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326797906&siteId=291194637