Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>CommentputNew to Visual Studio Code? Get it now.
Commentput

Commentput

aSumo

|
1 install
| (0) | Free
Insert comment snippets based on the current file's language
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

vscode-commentput

Yarn ESLint Prettier MIT

A simple alternative to ctrl+/.

Simply insert a comment symbol where the cursor is positioned.

55 major languages are supported by default.

Getting started

Options

Customize keybinding

The keybinding is ctrl+shift+/ (or cmd+Shift+/) by default.

You could assign it to an unused key on your keyboard.

keybindings.json

{
  "key": "ctrl+alt+/", // Use alt instead of shift
  "command": "commentput.insertPrefix",
  "when": "editorTextFocus"
}

Modify or add your prefix

settings.json

{
  "commentput.languagePrefixes": {
    "c": "/* ", // Replace the default prefix
    "custom-language": "## " // Add otehr language's prefix
  }
}

The languages and prefix supported by default is here.

If you would like support for a new language, please let us know via Issues.

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