Skip to content
| Marketplace
Sign in
Visual Studio Code>Formatters>WrapMateNew to Visual Studio Code? Get it now.
WrapMate

WrapMate

Memba Mcetywa

|
8 installs
| (0) | Free
Quickly wrap selected text with custom tags in HTML, Vue, JSX, and TSX files - features live preview as you type!
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

WrapMate - Tag Wrapper for VS Code

WrapMate is a powerful VS Code extension that lets you quickly wrap selected text with custom tags in HTML, Vue, JSX, and TSX files. It features a live preview that shows exactly where your tags will be placed as you type!

Features

  • ✨ Live Preview: See tags appear in real-time as you type
  • 🎯 Multi-Selection Support: Wrap multiple text blocks simultaneously
  • ⚡ Fast & Intuitive: Simple keyboard shortcut for quick access
  • 🎨 Visual Feedback: Highlighted preview shows exactly what will be wrapped
  • 🔄 Smart Cancellation: Press ESC to cancel without any changes

Usage

  1. Select the text you want to wrap in a supported file (HTML, Vue, JSX, or TSX)
  2. Type the tag name (e.g., div, span, section)
  3. Watch the live preview update as you type
  4. Press Enter to apply or ESC to cancel

Example

Before:

Hello World

After wrapping with div:

<div>Hello World</div>

Multiple Selections

WrapMate supports wrapping multiple selections at once:

  1. Hold Alt (Windows/Linux) or Option (Mac) and click to create multiple cursors
  2. Select different text blocks
  3. Use WrapMate to wrap all selections with the same tag

Supported File Types

  • HTML (.html)
  • Vue (.vue) - Works in Vue Single File Components
  • JSX (.jsx) - Works in React JavaScript files
  • TSX (.tsx) - Works in React TypeScript files

Requirements

  • VS Code version 1.93.0 or higher

Installation

  1. Open VS Code
  2. Press Ctrl+P / Cmd+P to open the Quick Open dialog
  3. Type ext install wrapmate to find the extension
  4. Click the Install button

Known Issues

Please report any issues on our GitHub repository.

Release Notes

1.1.0

  • ✨ Added support for Vue, JSX, and TSX file types
  • 🔒 Added runtime language validation to prevent execution in unsupported files

License

This extension is licensed under the MIT License.


Enjoy using WrapMate! If you find it helpful, please consider rating it on the VS Code Marketplace.

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