From 472dde509f99442071cdca3eddc05d902c88281a Mon Sep 17 00:00:00 2001 From: 5brian Date: Thu, 27 Feb 2025 22:20:50 -0500 Subject: [PATCH] Capitalize default slash command description (#25794) Update default slash command to use description constant format from https://github.com/zed-industries/zed/pull/18595. |Before|After| |---|---| |![image](https://github.com/user-attachments/assets/107a321e-0e91-40dd-8c38-4d55fd4f6d28)|![image](https://github.com/user-attachments/assets/f487a518-15bb-45c4-b524-25e6373a5886)| ^ This is when you type slash in the assistant panel. Release Notes: - N/A --- crates/assistant_slash_commands/src/default_command.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/assistant_slash_commands/src/default_command.rs b/crates/assistant_slash_commands/src/default_command.rs index 82d47bf11fac344020f64b8ffd5a90ff410da71b..b076a3a0a5257160800144fa117b98ceccff9472 100644 --- a/crates/assistant_slash_commands/src/default_command.rs +++ b/crates/assistant_slash_commands/src/default_command.rs @@ -21,11 +21,11 @@ impl SlashCommand for DefaultSlashCommand { } fn description(&self) -> String { - "insert default prompt".into() + "Insert default prompt".into() } fn menu_text(&self) -> String { - "Insert Default Prompt".into() + self.description() } fn requires_argument(&self) -> bool {