I cannot find a way to comment and uncomment multiple lines of code in Visual Studio Code.
Is it possible to comment and uncomment multiple lines in Visual Studio Co
For doing on mac: CMD + Shift + 7
visual studio 2017 we do a: Comment Selection
Ctrl+K, Ctrl+C
press Ctrl+K to get shortcut. press Ctrl+C to confirm http://visualstudioshortcuts.com/2017/
on Windows 10, Italian Keyboard, VSC 1.19.1:
Select lines that you want comment and press "Ctrl + ù"
In my case, Ubuntu, the shortcut is ctrl+shift+A.
Win10 with French / English Keyboard CTRL + / , ctrl+k+u and ctrl+k+l don't work.
Here's how it works:
/* */
SHIFT
+ALT
+A
//
CTRL
+É
É key is next to right Shift.
Select lines which you want to Comment
Then press Ctrl + / to make selected lines comment
And to uncomment:
Select the commented lines you which want to uncomment
First press Ctrl + K then Ctrl + Uto make commented lines uncomment