1. First click File-->Preferences-> Keyboard Shortcuts
2. Then in the search box Enter comment
3. Finally, select the shortcut key name to be changed. For example, what is changed here is a multi-line comment. Click the right button of the switch block comment line->Change key binding Set –>press the desired key combination –>then enter.
、
Recommended related articles and tutorials: vscode tutorial
The above is the detailed content of How to set multi-line comment shortcut keys in vscode. For more information, please follow other related articles on the PHP Chinese website!