debugger_ui: Update new process modal to include more context about its source (#36650)

Closes #36280

Release Notes:
  - Added additional context to debug task selection

Adding additional context when selecting a debug task to help with
projects that have multiple config files with similar names for tasks.

I think there is room for improvement, especially adding context for a
LanguageTask type. I started but it looked like it would need to add a
path value to that and wanted to make sure this was a good idea before
working on that.

Also any thoughts on the wording if you do like this format? 

---

<img width="1246" height="696" alt="image"
src="https://github.com/user-attachments/assets/b42e3f45-cfdb-4cb1-8a7a-3c37f33f5ee2"
/>

---------

Co-authored-by: Anthony <anthony@zed.dev>
Co-authored-by: Anthony <hello@anthonyeid.me>
This commit is contained in:
Matt
2025-09-18 16:05:55 -04:00
committed by GitHub
co-authored by Anthony Anthony
parent 6b8ed5bf28
commit fc0eb882f7
5 changed files with 216 additions and 55 deletions
+4
View File
@@ -134,6 +134,10 @@ impl DebugPanel {
.map(|session| session.read(cx).running_state().clone())
}
pub fn project(&self) -> &Entity<Project> {
&self.project
}
pub fn load(
workspace: WeakEntity<Workspace>,
cx: &mut AsyncWindowContext,