Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
edit predictions: Fix docs for `enabled_in_assistant` (#25770)
Agus Zubiaga541a5c01a4c9
diff --git a/assets/settings/default.json b/assets/settings/default.jsonindex 211e12b7ae6..9e5ddcca3a7 100644--- a/assets/settings/default.json+++ b/assets/settings/default.json@@ -847,7 +847,7 @@// 2. Display predictions inline only when holding a modifier key (alt by default).// "mode": "subtle""mode": "eager",- // Whether edit predictions are enabled in the assistant prompt editor.+ // Whether edit predictions are enabled in the assistant panel.// This setting has no effect if globally disabled."enabled_in_assistant": true},diff --git a/crates/language/src/language_settings.rs b/crates/language/src/language_settings.rsindex 1b6168d7596..56fbc6db7b3 100644--- a/crates/language/src/language_settings.rs+++ b/crates/language/src/language_settings.rs@@ -236,7 +236,7 @@ pub struct EditPredictionSettings {pub mode: EditPredictionsMode,/// Settings specific to GitHub Copilot.pub copilot: CopilotSettings,- /// Whether edit predictions are enabled in the assistant prompt editor.+ /// Whether edit predictions are enabled in the assistant panel./// This setting has no effect if globally disabled.pub enabled_in_assistant: bool,}diff --git a/docs/src/configuring-zed.md b/docs/src/configuring-zed.mdindex 5587f9dbfcf..2d1ca561d4b 100644--- a/docs/src/configuring-zed.md+++ b/docs/src/configuring-zed.md@@ -408,7 +408,7 @@ List of `string` values.### Enabled in Assistant-- Description: Whether to show edit predictions in the assistant's prompt editor.+- Description: Whether to show edit predictions in the assistant panel.- Setting: `enabled_in_assistant`- Default: `true`