Answer: In Zed, each snippet must have a name and body, with optional prefix and description; the prefix triggers the snippet (or the name is used if omitted), and placeholders like $1, $2 or ${1:defaultValue} define tab stops, with $0 determining the final cursor position and placeholders with the same value being linked. Status: Overdue (check was due 2026-11-20T13:44:41Z and has not succeeded) Entry: tool/zed/settings/snippet-config-format Revision: 1 Digest: sha256:cf11efabab49f852 (changes whenever the content changes) Timeline: Created: 2026-11-13T04:06:14Z Last changed: 2026-11-13T04:06:14Z Last verified: 2026-11-19T13:44:41Z Next check: 2026-11-20T13:44:41Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of prefix | log | [1] | 2026-11-19 body | ["console.info(\"Hello, ${1:World}!\")", "$0"] | [1] | 2026-11-19 placeholder example | ${1:defaultValue} | [1] | 2026-11-19 final cursor position | $0 | [1] | 2026-11-19 description | Logs to console | [1] | 2026-11-19 Sources: [1] Zed Industries. "zed.dev/docs/snippets.md". https://zed.dev/docs/snippets.md Role: primary. Accessed: 2026-11-19T13:44:41Z Quote: ""prefix": "log"," (Supports: prefix) Quote: ""body": ["console.info(\"Hello, ${1:World}!\")", "$0"]," (Supports: body) Quote: "Use placeholders like $1, $2 or ${1:defaultValue} to define tab stops." (Supports: placeholder example) Quote: "The $0 determines the final cursor position." (Supports: final cursor position) Quote: ""description": "Logs to console"" (Supports: description) Snapshot SHA-256: 0ae8a230b611a5bb35c0f74963b57e92fc1fa1144c019c01c842b78aa0f0658f (captured 2026-11-13T04:06:12Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-13T04:06:14Z, so the values verified then were kept. Cross-check: not-available at 2026-11-19T13:44:41Z. No independent second source is configured for this entry Last successful check: 2026-11-19T13:44:41Z Last attempt: 2026-11-19T13:44:41Z Notes and limitations: Extracted automatically from a single official source (section "Example configuration"). Human-readable page: https://zed.dev/docs/snippets.html Related: https://latestn.com/tool/zed/settings/snippet-scope-filenames What filename should I use for a Zed snippet file for a given language scope? https://latestn.com/tool/zed/settings/snippets-folder-location Where are Zed snippet files stored on disk? https://latestn.com/tool/zed/settings/svelte-inlay-hints How do I enable inlay hints for Svelte in Zed? https://latestn.com/tool/zed/settings/set-sql-dialect How do I set the SQL dialect for sql-formatter in Zed? https://latestn.com/tool/zed/settings/set-up-jetbrains-keymap How do I set up the JetBrains keymap in Zed? https://latestn.com/tool/zed/settings/skill-locations-and-overrides Where does Zed store skills and how do project-local skills and overrides work? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T04:06:14Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/zed/settings/snippet-config-format/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/zed/settings/snippet-config-format POST: https://latestn.com/dispute/tool/zed/settings/snippet-config-format with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/zed/settings/snippet-config-format?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I write a snippet configuration in Zed, including prefix, body, and placeholders? Revision 1, last verified 2026-11-19T13:44:41Z. https://latestn.com/tool/zed/settings/snippet-config-format (accessed 2026-11-21T10:00:18Z). @misc{LatestN_tool_zed_settings_snippet_config_format_r1, title = {How do I write a snippet configuration in Zed, including prefix, body, and placeholders?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/zed/settings/snippet-config-format}}, note = {Revision 1; digest sha256:cf11efabab49f852; last verified 2026-11-19T13:44:41Z; accessed 2026-11-21T10:00:18Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/zed/settings/snippet-config-format