Here are some common shortcut keys for webstorm:
1. CTRL + SHIFT + N: Opens a file in the project to open any directory under the current project.
2. Ctrl + J: output template
3. Ctrl + B: Skip to variable declaration
4. Ctrl + ALT + T: Surround the package code (including Zencoding's wrap with abbreviation)
5. Ctrl + []: match {}[]
6. Ctrl + F12: can display the structure of the current file
7. Ctrl + X: Cut (delete) row, uncheck, cut the entire row directly, and cut the selected content if part is selected
8. ALT + Left/right: Tag Toggle
9. Ctrl + R: Replace
CTRL + SHIFT + UP: line move
SHIFT + ALT + UP: Block Movement (if () {},while () {} statement block movement)
CTRL + D: Row copy
CTRL + SHIFT +/[: Check Block code
CTRL +/: Single-line comment
CTRL + SHIFT +/: Block comment
CTRL + SHIFT + I: Show details of the current CSS selector or JS function
+ Ctrl + '-/+ ': You can collapse any code block in the project, it is not selected collapsed, but automatically recognizes the collapse.
CTRL + '. ': Collapses the code of the selected code.
ctrl+/Single-line comment
ctrl+shift+/Block Comment
ctrl+shift+ +/-expand/collapse
Ctrl+alt+l Formatting Code
ctrl+shift+ up/down move sentences up and down
ALT + ENTER import package, auto fix
CTRL + N Find class
Ctrl+shift+n Finding files
Ctrl+alt+l Formatting Code
Ctrl+alt+o Optimizing imported classes and Packages
Alt+insert generate code (such as Get,set method, constructor, etc.)
Ctrl+e or Alt+shift+c recently changed code
Ctrl+r replacing text
Ctrl+f finding text
Ctrl+shift+space Auto-Complete code
CTRL + Space Code hints
Ctrl+alt+space class name or interface name hint
Ctrl+p Method Parameter Hints
Ctrl+shift+alt+n find a method or variable in a class
Alt+shift+c vs. recently modified code
Shift+f6 Refactoring-Renaming
ctrl+shift+ First up key
Ctrl+x Deleting rows
Ctrl+d Copying rows
ctrl+/or ctrl+shift+/Comments (//or/*...*/)
CTRL+J Automatic Code
Ctrl+e recently opened files
CTRL+H Display class structure diagram
Ctrl+q displaying comment documents
Alt+f1 find where the code is located
Alt+1 quickly open or hide the engineering panel
ctrl+alt+ Left/right back to the last viewed location
ALT + Left/right Toggle Code View
ALT + Up/down Fast move location between methods
The Ctrl+shift+up/down code moves up/down.
F2 or SHIFT+F2 highlighting error or warning quick location
When the code tag is entered, press TAB to generate the code.
Select the text, press CTRL+SHIFT+F7, highlight all the text, and press ESC to highlight the disappear.
Ctrl+w selected code, continuous press will have other effects
Select the text, press ALT+F3, look down the same text, and highlight it.
Ctrl+up/down cursor jumps to the first or last line
Ctrl+b quickly open the class or method at the cursor
Some common shortcut keys for Webstorm