From f48b6b583e858ab61903b02df4e70d1b93d0e915 Mon Sep 17 00:00:00 2001 From: Piotr Osiewicz <24362066+osiewicz@users.noreply.github.com> Date: Fri, 23 May 2025 14:53:20 +0200 Subject: [PATCH] debugger: Change placeholder text for Custom/Run text input (#31264) Before: ![image](https://github.com/user-attachments/assets/6cdef5bb-c901-4954-a2ec-39c59f8314db) After: ![image](https://github.com/user-attachments/assets/c4f60a23-249c-47ab-8a9e-a39e2277dd00) Release Notes: - N/A --- crates/debugger_ui/src/new_session_modal.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/crates/debugger_ui/src/new_session_modal.rs b/crates/debugger_ui/src/new_session_modal.rs index f388e91d466e99c63e97e6e7374a99c1594aa793..928a63cd0e425da3669d05d097a9472eb41c3380 100644 --- a/crates/debugger_ui/src/new_session_modal.rs +++ b/crates/debugger_ui/src/new_session_modal.rs @@ -750,7 +750,10 @@ impl CustomMode { let program = cx.new(|cx| Editor::single_line(window, cx)); program.update(cx, |this, cx| { - this.set_placeholder_text("Run", cx); + this.set_placeholder_text( + "ALPHA=\"Windows\" BETA=\"Wen\" your_program --arg1 --arg2=arg3", + cx, + ); if let Some(past_program) = past_program { this.set_text(past_program, window, cx);