Ready-to-import JSON files. Each one is a stand-alone, valid input for the Snippets → Import picker in Inspector Rust. Pick one as a starting point, edit, and import.
| File | Snippets | Theme |
|---|---|---|
getting-started.json |
mfg, addr, email (3) |
A minimal first import — sample address, email, German "Mit freundlichen Grüßen". Use this to verify the import flow works. |
signatures.json |
sig, sigDe, sigShort, sigOoo (4) |
Email signatures — short, long, German variant, and an out-of-office template with <DATE> / <COLLEAGUE> placeholders. |
dev.json |
shebang, license, todo, fixme, rsfn, tsfn, gitignore, ccmsg (8) |
Developer boilerplates — Bash shebang, MIT header, language-specific function skeletons, .gitignore, Conventional-Commits message. |
markdown.json |
mdh1, mdtable, mdcollapse, mdcb, prtmpl (5) |
Markdown / GitHub — heading scaffold, table skeleton, collapsible <details>, TS code-fence, PR-body template. |
wrapped-form.json |
tel, vat (2) |
Demonstrates the wrapped object form { "snippets": [...] } (instead of a top-level array). Both shapes are accepted by the importer. |
- Open Inspector Rust (
Ctrl+Space). - Snippets tab → Import.
- Select one of the files above.
- The status row shows e.g.
Imported 8and the new entries appear in the list.
You can import multiple files in sequence — abbreviations are upserted by name, so collisions overwrite the previous version (re-import is idempotent).
jq makes it easy to merge several example files into one import:
# concatenate all bare arrays into one
jq -s 'add' \
docs/examples/snippets/getting-started.json \
docs/examples/snippets/signatures.json \
docs/examples/snippets/dev.json \
> /tmp/inspector-rust-bundle.jsonThen import /tmp/inspector-rust-bundle.json once.
- Format reference and semantics:
docs/snippets-import.md - Source implementation:
core/rust-lib/src/snippets.rs