Skip to content
| Marketplace
Sign in
Visual Studio Code>Formatters>copy-codeNew to Visual Studio Code? Get it now.
copy-code

copy-code

Peter Banfi

|
1,401 installs
| (1) | Free
Copy code with automatic code-block formatter.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Copy Code

Copy code with automatic code-block formatter with syntax highlight.

Copy Code icon

Features

Transform this: const a;

to this:

const a;

with adding template literals and new lines: ```\n${copiedContent}\n```

Default keybinding

  • Windows: Ctrl+Alt+C
  • Mac: Cmd+Shift+F9

Enjoy!

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