Snippet Vault is a powerful Visual Studio Code extension to save, manage, search, and run code & terminal snippets. Organize your frequently used code and terminal commands, import/export your collection, and boost your productivity.
Features
📚 Save code and terminal snippets from your editor or terminal
🗂️ Organize snippets in a dedicated sidebar (Code & Terminal views)
🔍 Search and filter snippets instantly
⏩ Insert code snippets into the editor
▶️ Run terminal snippets directly in the integrated terminal
🔄 Import/export your snippets as JSON
🗑️ Delete, edit, and manage all your snippets
🖼️ Language icons for quick visual recognition
Getting Started
Install this extension from the VS Code Marketplace (or via .vsix)
Open the Snippet Vault sidebar from the Activity Bar
Use the context menu or commands to add, insert, run, or manage snippets
Usage
Save code Snippet: Select code, right-click, and choose "Snippet Vault: Save Selection ✨"
Add Terminal Snippet: Use the command palette or the Terminal Snippets view
Insert/Run Snippet: Click the insert/run button next to a snippet
Search: Use the search bar in each view to filter your snippets
Import/Export: Use the toolbar buttons to backup or restore your snippets
Commands
Command
Description
Snippet Vault: Save Selection ✨
Save selected code as a snippet
Add Terminal Snippet
Add a new terminal snippet
Insert Snippet
Insert a code snippet into the editor
Run Terminal Snippet
Run a terminal snippet in the integrated terminal
Export Snippets
Export all snippets to a file
Import Snippets
Import snippets from a file
Delete Snippet
Delete a selected snippet
Search Code Snippets
Search code snippets
Search Terminal Snippets
Search terminal snippets
Refresh Snippets
Refresh the snippet list
Extension Settings
This extension does not add any custom settings yet.
Requirements
Visual Studio Code v1.110.0 or newer
Known Issues
No major issues reported. Please file issues on GitHub if you find any.