
Duplicate your code effortlessly using custom tags across various languages! 🎉
🌟 Features
🔹 Tag-based Code Duplication
- Duplicate tags by specifying the number of repetitions in the form
<tag*3> , which expands to three instances of the tag.
- Works in HTML, JavaScript, Python, and more! 🌐
🔹 Syntax Variants
Syntax |
Description |
Example Input |
Result |
<tag*3> |
Duplicates an HTML tag multiple times. |
<div*3>[Hello] |
<div>Hello</div> * 3 |
console.log("hi")*3 |
Duplicates single commands. |
console.log("hi")*3 |
console.log("hi") * 3 |
{start**end} |
Expands a block multiple times. |
{start <div>content</div>**end} |
Duplicates entire block |
⚡ Quick Commands
- Expand Duplicate Command
Command Palette: Expand Duplicate Command
Use this to instantly expand selected text based on your custom syntax!
🚀 Installation
Install from VSIX
Download the .vsix file and install it in VS Code:
- Open VS Code.
- Go to Extensions > Install from VSIX...
- Select your downloaded
.vsix file.
Clone the Repository
cd dynamic-tags-shortcut-edition
npm install
| |