Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Clarify Copilot context menu
Antonio Scandurra54a78d702492
diff --git a/crates/copilot_button/src/copilot_button.rs b/crates/copilot_button/src/copilot_button.rsindex b3269986165..8d535cc96b0 100644--- a/crates/copilot_button/src/copilot_button.rs+++ b/crates/copilot_button/src/copilot_button.rs@@ -254,12 +254,8 @@ impl CopilotButton {menu_options.push(ContextMenuItem::item(format!(- "{} Copilot for {}",- if language_enabled {- "Disable"- } else {- "Enable"- },+ "{} Suggestions for {}",+ if language_enabled { "Hide" } else { "Show" },language),ToggleCopilotForLanguage {@@ -271,9 +267,9 @@ impl CopilotButton {let globally_enabled = cx.global::<Settings>().show_copilot_suggestions(None);menu_options.push(ContextMenuItem::item(if globally_enabled {- "Disable Copilot Globally"+ "Hide Suggestions for All Files"} else {- "Enable Copilot Globally"+ "Show Suggestions for All Files"},ToggleCopilotGlobally,));