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:
@@ -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),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user