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'.
Shift + Option + A
in Mac but not for each line. It is just as Cmd + /
so I think this is not an answer (still no available answer after two years) –
Domesday © 2022 - 2024 — McMap. All rights reserved.