Overview Version History Q & A Rating & Review
Snippet Vault
Save code you reuse and drop it into any file in two keystrokes. Snippet Vault also ships with a small library of ready-made lab programs.
Features
Save a selection (or the whole file if nothing is selected) under a name you choose.
Insert any saved snippet at your cursor, replacing the current selection.
Open as new file to start a fresh editor with the snippet's language already set.
Delete snippets you no longer need.
Your snippets sync across machines when VS Code Settings Sync is on.
Built-in library
Program
Language
Frequency Reuse (cellular hexagon plot)
Python
DSSS spreading and despreading
Python
GSM A3 / A8 / A5 simulation
Python
ESP32 setup steps
Markdown
ESP32 Blink test
Arduino C++
ESP32 Wi-Fi scan
Arduino C++
ESP32 BLE scan (count)
Arduino C++
ESP32 BLE scan (name, MAC, RSSI)
Arduino C++
Hamming code: encode, detect and correct
Python
Factorial Server (socket, port 5000)
Java
Factorial Client
Java
Packet Tracer: VLAN configuration
Markdown guide
Packet Tracer: RIP routing
Markdown guide
GNS3: Static routing
Markdown guide
GNS3: Dynamic routing (RIP v2)
Markdown guide
Ubuntu: FTP server setup (vsftpd)
Markdown guide
Usage
Open the Command Palette (Ctrl+Shift+P / Cmd+Shift+P) and run:
Command
What it does
Snippet Vault: Save Selection (or Whole File)
Saves the selected code under a name
Snippet Vault: Insert Snippet
Pick a snippet and insert it
Snippet Vault: Open Snippet as New File
Opens the snippet in a new editor
Snippet Vault: Delete My Snippet
Removes one of your saved snippets
You can also right-click in the editor to save a selection or insert a snippet.
Requirements
VS Code 1.85 or newer. Python, a JDK, Arduino IDE, Cisco Packet Tracer or GNS3 are only needed to run or follow the bundled programs and guides.
Release notes
See CHANGELOG.md .