zed/crates/task/src
Piotr Osiewicz 298e9c9387
task: Allow Rerun action to override properties of task being reran (#10468)
For example:
```
"alt-t": [
    "task::Rerun",
     { "reevaluate_context": true, "allow_concurrent_runs": true }
],
```
Overriding `allow_concurrent_runs` to `true` by itself should terminate
current instance of the task, if there's any.

This PR also fixes task deduplication in terminal panel to use expanded
label and not the id, which depends on task context. It kinda aligns
with how task rerun worked prior to #10341 . That's omitted in the
release notes though, as it's not in Preview yet.

Release Notes:

- `Task::Rerun` action can now override `allow_concurrent_runs` and
`use_new_terminal` properties of the task that is being reran.
2024-04-12 12:44:50 +02:00
..
lib.rs Rework task modal (#10341) 2024-04-11 02:02:04 +03:00
static_source.rs Rework task modal (#10341) 2024-04-11 02:02:04 +03:00
task_template.rs task: Allow Rerun action to override properties of task being reran (#10468) 2024-04-12 12:44:50 +02:00
vscode_format.rs Rework task modal (#10341) 2024-04-11 02:02:04 +03:00