mirror of
https://github.com/zed-industries/zed.git
synced 2025-02-03 17:44:30 +00:00
cbc226597c
`Inventory::list_tasks()` in `project` crate now is ordered by task types. Worktree tasks comes first, language tasks second and global tasks last. That leads to `spawn_task_with_name()` from `task_ui` crate will find worktree task first, so it's possible to override global tasks at project level. * `Inventory::templates_from_settings()` splitted to `Inventory::global_templates_from_settings()` and `Inventory::worktree_templates_from_settings()`. * In tests function `list_tasks()` renamed to `list_tasks_sorted_by_last_used()`, because it call's `Inventory::used_and_current_resolved_tasks()`. Also added `list_tasks()` which calls `Inventory::list_tasks()`. Closes #20987 Release Notes: - Fix task::Spawn to search for task name in project tasks first. |
||
---|---|---|
.. | ||
lsp_command | ||
buffer_store.rs | ||
color_extractor.rs | ||
connection_manager.rs | ||
debounced_delay.rs | ||
direnv.rs | ||
environment.rs | ||
image_store.rs | ||
lsp_command.rs | ||
lsp_ext_command.rs | ||
lsp_store.rs | ||
prettier_store.rs | ||
project.rs | ||
project_settings.rs | ||
project_tests.rs | ||
search.rs | ||
search_history.rs | ||
task_inventory.rs | ||
task_store.rs | ||
terminals.rs | ||
toolchain_store.rs | ||
worktree_store.rs | ||
yarn.rs |