Extension Details

- TagWrap
- by Distillery, LLC
- 1 Recent Installs | 1 Total Installs
- Wrap selected text in HTML tags, and repeat quickly for more text!
- Bug Reports
Readme
TagWrap
Quickly wrap selected text in HTML tags, and repeat quickly as needed!
Usage
Select any text in your editor and press Ctrl+Shift+W to wrap it in an HTML tag. You'll get a prompt where you can type the tag you want.
The extension is smart about tag input. You can type:
- Just the tag name:
div - A tag with attributes:
a href="https://example.com" - Or even include the angle brackets if you want:
<span class="highlight">
The proper closing tag is added automatically. If you type <a href="test">, it wraps your text with <a href="test">...</a>.
Repeat Last Tag
Press Ctrl+Shift+R to wrap text in the same tag you used last. Saves time when you're wrapping multiple selections with the same tag.
Commands
Two commands are available from the Command Palette:
- Wrap in HTML Tag... (Ctrl+Shift+W) - Prompts for a tag and wraps the selection
- Wrap in Previous HTML Tag (Ctrl+Shift+R) - Wraps the selection in whatever tag you used last
Keyboard Shortcuts
The default shortcuts are:
- Ctrl+Shift+W - Wrap in tag (with prompt)
- Ctrl+Shift+R - Repeat last tag
You can change these in Nova's Key Bindings preferences if they conflict with other extensions.
Release Notes
Version 1.0
Initial release