Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

visual studio code - how to comment multiple lines for html (each line instead whole block)

When I comment html files, vscode wraps my selection and puts a single tag around the whole selection.

How can I change it that instead it comments every single line individually? (like e.g. in webstorm)

Thanks!

like image 361
Han Che Avatar asked Apr 09 '17 04:04

Han Che


People also ask

How do you comment multiple lines in Visual Studio HTML?

If you select a block of code and use the key sequence Ctrl+K+C, you'll comment out the section of code. Ctrl+K+U will uncomment the code.


1 Answers

Keyboard shortcut to comment multiple in Windows is 'Shift+Alt+A'.

like image 54
Sannon Aragão Avatar answered Nov 15 '22 01:11

Sannon Aragão