comment shortcut vscode 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: how to comment selection in visual studio

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

Example 3: comments visual studio code html

New empty HTML comment wherever:  Shift + Alt + A

Example 4: quick fix shortcut vscode

On Windows, use the Ctrl + . keys. Then just select the Quick Fix suggestion that you want to apply to your code

Example 5: visual studio code terminal window shortcut back

// Toggle between terminal and editor focus
{ "key": "ctrl+`", "command": "workbench.action.terminal.focus"},
{ "key": "ctrl+`", "command": "workbench.action.focusActiveEditorGroup", "when": "terminalFocus"}

Tags:

Go Example