Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

debugger: Change placeholder text for Custom/Run text input (#31264)

Piotr Osiewiczf48b6b583e85
diff --git a/crates/debugger_ui/src/new_session_modal.rs b/crates/debugger_ui/src/new_session_modal.rs
index f388e91d466..928a63cd0e4 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);