Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Snippet VaultNew to Visual Studio Code? Get it now.
Snippet Vault

Snippet Vault

BaZz

|
2 installs
| (1) | Free
Save, manage, and sync code & terminal snippets in VS Code.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Snippet Vault (VS Code Extension)

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

  1. Install this extension from the VS Code Marketplace (or via .vsix)
  2. Open the Snippet Vault sidebar from the Activity Bar
  3. 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.

Release Notes

0.0.1

  • Initial release: Save, manage, search, insert, run, import/export code & terminal snippets.

Contributing

Pull requests and suggestions are welcome! Please open an issue to discuss your idea.

License

MIT


Publishing

  1. Update the publisher field in package.json to your VS Code Marketplace publisher ID
  2. Run npm run build to generate the dist files
  3. Run vsce package to create the .vsix file
  4. Publish with vsce publish

Built with ❤️ for VS Code users.

  • Split the editor (Cmd+\ on macOS or Ctrl+\ on Windows and Linux).
  • Toggle preview (Shift+Cmd+V on macOS or Shift+Ctrl+V on Windows and Linux).
  • Press Ctrl+Space (Windows, Linux, macOS) to see a list of Markdown snippets.

For more information

  • Visual Studio Code's Markdown Support
  • Markdown Syntax Reference

Enjoy!

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft