tasks: Add spawn option by tag (#25650)
Closes #19497 Fixed conflicts from https://github.com/zed-industries/zed/pull/19498 Added tags to tasks selector Release Notes: - Added ability to spawn tasks by tag with key bindings - Added tags to tasks selector https://github.com/user-attachments/assets/0eefea21-ec4e-407c-9d4f-2a0a4a0f74df --------- Co-authored-by: Kirill Bulatov <mail4score@gmail.com>
This commit is contained in:
parent
80441f675b
commit
2f5a4f7e80
10 changed files with 174 additions and 33 deletions
|
@ -230,6 +230,12 @@ pub enum Spawn {
|
|||
#[serde(default)]
|
||||
reveal_target: Option<RevealTarget>,
|
||||
},
|
||||
/// Spawns a task by the name given.
|
||||
ByTag {
|
||||
task_tag: String,
|
||||
#[serde(default)]
|
||||
reveal_target: Option<RevealTarget>,
|
||||
},
|
||||
/// Spawns a task via modal's selection.
|
||||
ViaModal {
|
||||
/// Selected task's `reveal_target` property override.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue