Answer: You can exclude additional paths or file extensions by adding them to `edit_predictions.disabled_globs` in your Zed settings file. Certain files are always excluded regardless of opt-in status, including patterns like `**/.env*`, `**/*.pem`, and `**/*.key`. Status: Overdue (check was due 2026-11-20T13:38:16Z and has not succeeded) Entry: tool/zed/privacy-and-data/edit-prediction-file-exclusions Revision: 1 Digest: sha256:9853e9d4bdc1fa40 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:59:50Z Last changed: 2026-11-13T03:59:50Z Last verified: 2026-11-19T13:38:16Z Next check: 2026-11-20T13:38:16Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of setting | edit_predictions.disabled_globs | [1] | 2026-11-19 example exclusion | secret_dir/* | [1] | 2026-11-19 always excluded pattern | **/.env* | [1] | 2026-11-19 Sources: [1] Zed Industries. "zed.dev/docs/ai/ai-improvement.md". https://zed.dev/docs/ai/ai-improvement.md Role: primary. Accessed: 2026-11-19T13:38:16Z Quote: "You can explicitly exclude additional paths or file extensions by adding them to [`edit_predictions.disabled_globs" (Supports: setting) Quote: ""disabled_globs": ["secret_dir/*", "**/*.log"]" (Supports: example exclusion) Quote: ""**/.env*"," (Supports: always excluded pattern) Snapshot SHA-256: b1d87141deda6a769a5904b0dcdbe2e84f8b9b201f48eabdee81c4ec3530d608 (captured 2026-11-13T03:59:50Z) 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-13T03:59:50Z, so the values verified then were kept. Cross-check: not-available at 2026-11-19T13:38:16Z. No independent second source is configured for this entry Last successful check: 2026-11-19T13:38:16Z Last attempt: 2026-11-19T13:38:16Z Notes and limitations: Extracted automatically from a single official source. Human-readable page: https://zed.dev/docs/ai/ai-improvement.html Related: https://latestn.com/tool/zed/privacy-and-data/feedback-data-collected What data does Zed collect when I rate an AI response or submit feedback? https://latestn.com/tool/zed/privacy-and-data/hosted-model-data-retention Does Zed train on my prompts or code, and what are the data retention commitments for Zed-hosted models? https://latestn.com/tool/zed/privacy-and-data/provider-safety-retention Which provider-designated models have safety retention and what does that mean for my data? https://latestn.com/tool/zed/privacy-and-data/business-data-privacy Does Zed Business store my prompts or train on my data? https://latestn.com/tool/zed/privacy-and-data/business-default-data-sharing What data sharing is enforced by default for Zed Business organizations? https://latestn.com/tool/zed/privacy-and-data/disable-telemetry How do I disable telemetry in Zed? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:59:50Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/zed/privacy-and-data/edit-prediction-file-exclusions/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/privacy-and-data/edit-prediction-file-exclusions POST: https://latestn.com/dispute/tool/zed/privacy-and-data/edit-prediction-file-exclusions with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/zed/privacy-and-data/edit-prediction-file-exclusions?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I exclude files from Zed's edit prediction training data? Revision 1, last verified 2026-11-19T13:38:16Z. https://latestn.com/tool/zed/privacy-and-data/edit-prediction-file-exclusions (accessed 2026-11-21T10:04:06Z). @misc{LatestN_tool_zed_privacy_and_data_edit_prediction_file_exclusions_r1, title = {How do I exclude files from Zed's edit prediction training data?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/zed/privacy-and-data/edit-prediction-file-exclusions}}, note = {Revision 1; digest sha256:9853e9d4bdc1fa40; last verified 2026-11-19T13:38:16Z; accessed 2026-11-21T10:04:06Z} } 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/privacy-and-data/edit-prediction-file-exclusions