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:
@@ -388,6 +388,7 @@ impl Inventory {
|
||||
.into_iter()
|
||||
.flat_map(|worktree| self.worktree_templates_from_settings(worktree))
|
||||
.collect::<Vec<_>>();
|
||||
|
||||
let task_source_kind = language.as_ref().map(|language| TaskSourceKind::Language {
|
||||
name: language.name().into(),
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user