When I comment HTML files, VSCode wraps my selection and puts a single
<!-- -->
tag around the whole selection.
How can I change it so that instead it comments every single line individually? (like e.g. in WebStorm)
Thanks!
When I comment HTML files, VSCode wraps my selection and puts a single
<!-- -->
tag around the whole selection.
How can I change it so that instead it comments every single line individually? (like e.g. in WebStorm)
Thanks!
I made an extension that will do what you want: Toggle Comments.
Using this keybinding:
{
"key": "ctrl+alt+/", // whatevefr keybinding you wish
"command": "toggle-comments.toggleLineComments",
"when": "editorTextFocus"
}
Keyboard shortcut to comment multiple in Windows is 'Shift+Alt+A'.