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

Wrapcraft

AddonLogic

| (0) | Free
Wrap the selection in quotes, brackets, braces, or custom HTML/XML tags.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Wrapcraft

Surround your selection with quotes, brackets, braces, or a custom HTML/XML tag — without retyping the closing half.

Features

Each command wraps the current selection (or the word under the cursor when nothing is selected):

  • Wrapcraft: Wrap in Double Quotes — surrounds the text with " … ".
  • Wrapcraft: Wrap in Single Quotes — surrounds the text with ' … '.
  • Wrapcraft: Wrap in Backticks — surrounds the text with ` … `.
  • Wrapcraft: Wrap in ( ) — surrounds the text with ( … ).
  • Wrapcraft: Wrap in [ ] — surrounds the text with [ … ].
  • Wrapcraft: Wrap in { } — surrounds the text with { … }.
  • Wrapcraft: Wrap in Custom Tag — prompts for a tag name (default div) and wraps the text as <name> … </name>. Any angle brackets you type are stripped automatically.

Usage

  1. Select some text, or place the cursor inside a word.
  2. Open the Command Palette (Ctrl+Shift+P / Cmd+Shift+P).
  3. Run any Wrapcraft command.

The selection is replaced with the wrapped version in a single, undoable edit.

Multi-cursor

Wrapcraft works with multiple selections at once. Every non-empty selection is wrapped with its own delimiters, and every empty cursor falls back to the word beneath it — all in one operation, so a single undo reverts them together. Cursors that sit on no word are left untouched.

License

Released under the MIT License. See the LICENSE file for details.

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