Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>vscode-comment-selectionNew to Visual Studio Code? Get it now.
vscode-comment-selection

vscode-comment-selection

rassek96

|
2,309 installs
| (2) | Free
Quickly comment out selection only
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

vscode-comment-selection

I was annoyed that VSCode's toggle comment feature commented out the entire line, as opposed to just what is selected, so this is a very simple extension that comments out only what is highlighted.

Features

Right now it only supports JavaScript, TypeScript, HTML, CSS, which are the main ones I use with VSCode. Might add more later, probably not though.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft