CodeClipboard is a lightweight, fast, and smart temporary clipboard panel for VS Code.
Select any text → right–click → Add to CodeClipboard → all your snippets stay visible in a clean side panel for quick reference.
Perfect when you're working across multiple files and need to copy/paste pieces of code without losing context.
Stores your selected text snippets in a clean WebView panel — easy to scan, copy, or clear.
Right–click any selected text and add it instantly.
Also available from the Command Palette.
When you add a snippet and the panel is closed, it opens automatically.
Includes:
- Better spacing
- Subtle borders
- Clear buttons: Copy All and Clear
- Auto-updating snippet list
The extension keeps VS Code clean — no clutter in the activity bar.
The panel uses its own icon for a polished look.
how-to-use.mp4
| Adding selected text | Notes Panel |
|---|---|
![]() |
![]() |
- Highlight text in the editor
- Right-click → Add to CodeClipboard
- Or through Command Palette: CMD+SHIFT+P -> CodeClipboard: Add Selected Text
- Right-click → Show to Notes Panel
- Or through Command Palette: CMD+SHIFT+P -> CodeClipboard: Show Notes Panel
- Or it opens automatically when adding a snippet for the first time.
Inside the panel you can:
- 📋 Copy All → copy everything to your system clipboard
- 🗑️ Clear → delete all stored snippets
| Command ID | Description |
|---|---|
codeClipboard.addNote |
Adds selected text to clipboard |
codeClipboard.showPanel |
Opens the notes panel |
codeClipboard.clearNotes |
Clears all stored snippets |
Right–click inside the editor:
- Add to CodeClipboard (only when you have selected text)
- Show CodeClipboard
These appear grouped and separated from the other default menu items.
No requirements or external libraries.
Everything runs in-memory — lightweight and fast.
Currently no settings available.
Possible future additions:
- Persistent mode (save snippets between VS Code sessions)
- Tags / groups
- Export to file (JSON or markdown)
Contributions are welcome!
👉 Submit issues or pull requests at:
https://github.com/jimolina/codeclipboard
MIT License.
José Molina
Created with ❤️ for developers who juggle snippets all day.

