Answers for "vs code toggle line comment mac"

1

vs code toggle line comment mac

The hard way:
Add comment: Command + K followed by Command + C
Remove comment: Command + K followed by Command + U

The easy way:
Toggle line comment: Command + /

Recommended fix if the easy way don't work:
- Add the following to your keybindings.json in VS Code:
[
    { 
        "key": "cmd+7",       
        "command": "editor.action.commentLine",
        "when": "editorFocus"
    }
]
Posted by: Guest on November-23-2020
1

toggle line comment vs code

Ctrl + / 	-   Toggle line comment (default)
Posted by: Guest on November-10-2020

Browse Popular Code Answers by Language