zed/crates/task
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
..
src task: Allow Rerun action to override properties of task being reran (#10468) 2024-04-12 12:44:50 +02:00
test_data VS Code -> Zed tasks converter (#9538) 2024-03-20 16:37:26 +01:00
Cargo.toml task: Fix variable substitution for free variables (#10434) 2024-04-11 21:15:33 +02:00
LICENSE-GPL