The Wrap-with-Tags extension allows you to wrap selected text with customizable HTML-like tags using a simple keyboard shortcut. This is ideal for developers and content creators who frequently work with markup or template languages.
Features
Wrap Selected Text with Tags: Quickly wrap text with opening and closing tags using the default shortcut (Shift+Alt+P).
Customizable Tags: Modify the extension to use any tags you prefer.
Ease of Use: Seamlessly integrates into your workflow with minimal setup.
Example:
Select some text.
Press the shortcut (Shift+Alt+P).
The text transforms from:
Example Text
to:
<Example Text></Example>
Requirements
This extension does not have additional dependencies or requirements beyond a standard Visual Studio Code installation.
Usage
Highlight the text you want to wrap.
Press the shortcut (Shift+Alt+P).
Your selected text will be wrapped with < and > tags.
Extension Settings
This extension does not currently add settings to VS Code. Future versions may include configuration options such as:
Customizable tag names.
Support for additional markup formats.
Known Issues
The extension assumes a basic structure for tags and may not work with complex nested tags or specific tag formats.
Tag wrapping does not currently support tag customization directly from the UI or settings.
Release Notes
1.0.0
Initial release.
Added the ability to wrap selected text with tags using the Shift+Alt+P shortcut.