This article mainly introduces the common shortcut keys of WeChat mini programs, related information and development tools to improve development efficiency. Friends in need can refer to it.
Format adjustment
Ctrl+S: Save file
Ctrl+[, Ctrl+]: Indent code lines
Ctrl+Shift+[, Ctrl+Shift+]: Fold and open code blocks
Ctrl+C Ctrl+V: Copy and paste, if no text is selected, copy and paste a line
Shift+Alt+F: Code formatting
Alt+Up, Alt+Down: Move a line up and down
Shift+Alt+Up, Shift+Alt+Down: Copy a line up and down
Ctrl+Shift+Enter: Insert a line above the current line
Cursor related
Ctrl+End: Move to the end of the file
Ctrl+Home: Move to the beginning of the file
Ctrl+i: Select the current line
Shift+End: Select from the cursor to the end of the line
Shift+Home: Select from the beginning of the line to the cursor
Ctrl+Shift+L: Select all matches
Ctrl+D: Select matching
Ctrl+U: Cursor rollback
The above is the detailed content of Summary of commonly used shortcut keys for WeChat mini programs. For more information, please follow other related articles on the PHP Chinese website!