Smart Snippet Manager
Smart Snippet Manager is a powerful VS Code extension that allows you to create, tag, edit, search, organize, and run terminal command snippets—with support for custom terminal types, optional flags, and import/export functionality.
🚀 Features
💻 Run saved terminal commands in CMD, PowerShell, or custom terminals.
🏷️ Add tags to snippets for grouping and searching.
📝 Edit, delete, or temporarily upload snippets.
🔍 Search snippets with live preview of tags and terminal types.
📁 Open the snippets storage folder directly in your file explorer.
🔄 Import/export your snippets as JSON files for backup or sharing.
📚 Organized snippet tree in the sidebar with sorting support.
📦 Requirements
VS Code v1.100.0 or later.
Terminal types must be available on your system (e.g., cmd, pwsh, or other shell executables).
⚙️ Extension Commands
Smart Snippet: Add Snippet
Create a new snippet with command, terminal type, flags, and tags.
Smart Snippet: Search / Run / Edit / Delete
Open the snippet manager UI to run, edit, or delete saved snippets.
Smart Snippet: Open Snippet Folder
Opens the storage folder in your OS file explorer.
Smart Snippet: Export Snippets
Save all current snippets as a JSON file.
Smart Snippet: Import Snippets
Import snippets from a previously exported JSON file.
Use Ctrl + Alt + S as a shortcut to launch the snippet search menu.
📁 Where Are Snippets Stored?
Snippets are stored in a snippets/snippets.json file within your VS Code global storage path.
To open this folder easily, use the command:
Smart Snippet: Open Snippet Folder
🏷️ Tagging and Grouping
Each snippet can include multiple tags (e.g., build, test, deploy). Tags appear in the search menu and will support grouping/filtering in future releases.
🔄 Importing / Exporting Snippets
Export your full snippet collection as JSON for backup or sharing:
You can version control or share these JSON files across teams.
🧪 Known Issues
Only one snippet can be executed at a time.
No validation of terminal command safety—be cautious when importing snippets from others.
🗒️ Release Notes
v0.0.1
✅ Added tagging support.
✅ Sorting, import/export functionality.
✅ Option to open snippets folder in file explorer.
✅ Terminal selection per snippet (cmd, pwsh, etc.).
✅ Cleaned sidebar UI.
📖 Useful Tips
You can use this extension for more than just commands—think environment setup, aliasing, quick tools, etc.
Keep snippets organized with short names and clear tags.
🙌 Enjoying It?
If you find this useful, share it or leave feedback!