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
+1 -1
View File
@@ -493,7 +493,7 @@ impl PickerDelegate for TasksModalDelegate {
language_name: name,
..
}
| TaskSourceKind::Language { name } => file_icons::FileIcons::get(cx)
| TaskSourceKind::Language { name, .. } => file_icons::FileIcons::get(cx)
.get_icon_for_type(&name.to_lowercase(), cx)
.map(Icon::from_path),
}