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

DuplicateThenCommentOut

yskoht

|
241 installs
| (0) | Free
Duplicate the selected lines, then comment out the original selected lines
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

vscode-duplicate-then-comment-out

Features

Select a range and choose Duplicate then Comment-out from the Command Palette (Cmd + Shift + P).

Assign Key Binding

keybindings.json

  {
    "key": "ctrl+shift+/",
    "command": "extension.duplicateThenCommentOut"
  },

License

This software is released under the MIT License, see LICENSE.

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