Common shortcut keys are as follows
Ctrl + P Find File
Ctrl + P-----------The explanation on the menu is Gotoanythings, with "#" matching,
Use "@" to match the corresponding class in the JS file
Ctrl + H Replacement
Ctrl + F Find
Ctrl + N New file
Ctrl + D To select the word where the cursor is located
Ctrl + L Select when forward
Ctrl + Shift + D copy cursor row
Ctrl + R Go to method
Ctrl + Shift + P in command mode
Ctrl + Enter is added on the next line of the cursor
Ctrl + shift+ Enter on the previous line of the cursor to add
Ctrl + C Copy
Ctrl + V Paste
Ctrl + Shift + V paste (keep the original format)
Ctrl +/Note when moving forward
Ctrl + Shift +/Current Position Insert Comment
Ctrl + alt/Block comment, and focus to the first line, write the comment description with the
Alt + F3---------------Select the selected word
Multi-row cursor selection
(i) The first way
1) Select text-Ctrl +d
2) Continue to select the next Ctrl +d to skip, then Ctrl+k plus ctrl+d to skip this line
3) continue to the next Ctrl +d, and so on, there will be multiple cursors, editing multiple lines
(ii) The second way
1) Select the text and press ALT + F3
(iii) Third Way
1) Ctrl + A, then CTRL + Shift+ L, will produce a cursor at the end of each line
Rapid development with Emmet plug-in
Operation Flow
1) Ctrl + N Create a new page
2) Ctrl + Shift + P Toggle to HTML mode
3) Enter at the beginning of the page!, and then CTRL + E, the HTML document must be automatically generated tags
4) Use the shortcut key to find the body tag of the document, Ctrl + Shift + P, then enter #body, press ENTER, the cursor is positioned on the body tag
5) Ctrl + ENTER to add a new line below the current line
6) Enter UL > li.item$*10, then press CTRL + E to generate 10 Li elements under UL
7) Increase indent, select the area you want to indent, and then Ctrl +}
8) need to add content to each Li, take advantage of the multi-line cursor selection function, select the >< in the Li tag, and then alt+f3, resulting in multi-line cursor function
Move the arrow keys, position the label inside the Li, then press ENTER enter key, enter h2{this is title} cursor movement at the end, fast build ctrl+e
The H2 content is generated at the same time in Li
Sublime Common shortcut keys