tasks: Prefer worktree tasks to global tasks in tag selection (#11427)

Release Notes:

- Added test indicators in Rust files, backed by task system.
This commit is contained in:
Piotr Osiewicz 2024-05-06 16:53:48 +02:00 committed by GitHub
parent 29c675ba17
commit d4636481ac
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 63 additions and 56 deletions

View file

@ -16,7 +16,7 @@ pub use vscode_format::VsCodeTaskFile;
/// Task identifier, unique within the application.
/// Based on it, task reruns and terminal tabs are managed.
#[derive(Debug, Clone, PartialEq, Eq, Hash)]
#[derive(Debug, Clone, PartialEq, Eq, Hash, PartialOrd, Ord)]
pub struct TaskId(pub String);
/// Contains all information needed by Zed to spawn a new terminal tab for the given task.