vscode comment shortcut code example

Example 1: vscode comment block of code html

********** For Mac **************
-> How to comment a block?
  
Command + K + C


-> How to uncomment a block?
  
Command + K + U

Example 2: visual studio comment out block

ctrl+k+c Will comment out the selected chunk of code in VS Code.

Example 3: vscode shortcut to delete line

Mac OS : Command + X  or Command + Shift + K

Example 4: toggle line comment vs code

Ctrl + / 	-   Toggle line comment (default)

Example 5: how to comment selection in visual studio

In Visual Studio: Ctrl+K+C will comment, Ctrl+K+U Will uncomment

Example 6: comments visual studio code html

New empty HTML comment wherever:  Shift + Alt + A

Tags:

Css Example