Quickly wrap selected text with HTML-like tags or convert quotes to backticks using keyboard shortcuts.
Wraps selected text with opening and closing tags, placing the cursor inside the opening tag for easy tag naming.
Example:
Example Text → <>Example Text</>
Converts surrounding quotes (" or ') to backticks (`), perfect for converting strings to template literals in JavaScript.
Example:
"Hello World" → `Hello World`
'Hello World' → `Hello World`
- Select the text you want to wrap
- Press the appropriate shortcut:
Shift+Alt+Pfor tagsShift+Alt+Ifor backticks
- Visual Studio Code 1.96.0 or higher
- Dependencies:
formulahendry.auto-rename-tag(automatically installed)
- Added backtick wrapper feature with
Shift+Alt+Ishortcut
- Added extension icon
- Added auto-rename-tag dependency
- Initial release with tag wrapper feature
Submit issues or pull requests on GitHub.
Happy wrapping! 🎉