Smart Wrapper — VS Code ExtensionA powerful, developer-friendly extension that lets you wrap any HTML or JSX code snippet instantly — without cutting, pasting, or fixing broken indentation. Smart Wrapper streamlines common UI-development workflows, especially in React, Next.js, HTML, and component-heavy projects.
✨ Features✅ Quick Tag SelectionChoose your wrapper tag using a clean Quick Pick menu:
✅ Correct IndentationAutomatically detects your line's indentation and formats the wrapped content cleanly — whether it's single-line or multi-line. ✅ Smart Multi-Line HandlingMulti-line selections are wrapped with consistent indentation:
✅ Self-Closing Tag DetectionIf you wrap something like:
Smart Wrapper formats it gracefully. ✅ Full TypeScript CodebaseClean, typed code for easy maintenance and contribution. ✅ Ready to PackageIncludes required scripts and output structure to generate a 🚀 Usage
🎯 ExampleBefore
After(using wrapper tag: div)
📌 Commands
🔮 Upcoming Enhancements
❤️ ContributingPull requests and feature suggestions are welcome! |
