A seamless, visual way to save, manage, and reuse code snippets directly within Visual Studio Code.
Tired of scattering useful code snippets across random text files, gists, or external note-taking apps? Code Snippet Manager brings this workflow directly into your editor, providing a beautiful and efficient interface to keep your snippets organized and accessible.
Features
Save Snippets Instantly
Save any code selection directly from your editor into your snippet library with a simple right-click.
Visual Grid Layout
Your snippets are displayed in a clean, card-based grid, making it easy to see them at a glance.
Adaptive Theming
The interface automatically switches between a beautiful light and dark theme to match your VS Code setup.
Powerful Search & Filtering
Quickly find the snippet you need by searching its title, language, file path, or even the code content itself.
In-Place Editing
Expand any snippet to access a full code editor with syntax highlighting, allowing you to modify and refine your saved code.
Rich Snippet Metadata
Each snippet automatically stores its original file path, line numbers, and language, giving you full context.
Quick Actions
Copy a snippet's code to your clipboard or delete it with a single click.
How to Use
1. Opening the Snippet Manager
To open the main view, open the Command Palette (Ctrl+Shift+P or Cmd+Shift+P on Mac) and type:
Snippet Manager: Show Snippets
This will open the Snippet Manager.
2. Saving a New Snippet
Select the code you want to save in your editor.
Right-click on the selection.
Choose "Add to Snippets" from the context menu.
The Snippet Manager will open (if not already visible) with your new snippet added to the top of the list!