ZIm/crates/project/src
Kirill Bulatov b5a1ae6526
Improve Zed tasks' ZED_WORKTREE_ROOT fallbacks (#25605)
Closes https://github.com/zed-industries/zed/issues/22912

Reworks the task context infrastructure so that it's possible to have
multiple contexts at the same time, and stores all possible worktree
context there.
Task UI code is now falling back to the "active" worktree context, if
active item's context did not produce a resolved task.

Current code does not produce meaningful results for projects with
multiple worktrees to avoid ambiguity and design changes: instead of
resolving tasks per worktree context available, extra worktree context
is only used when resolving tasks from the same worktree.

Release Notes:

- Improved Zed tasks' `ZED_WORKTREE_ROOT` fallbacks
2025-02-26 22:30:31 +02:00
..
lsp_command Remove language::markdown (#25136) 2025-02-19 08:55:36 -07:00
project_tree cx.background_executor().spawn(...) -> cx.background_spawn(...) (#25103) 2025-02-18 20:30:33 +00:00
buffer_store.rs cx.background_executor().spawn(...) -> cx.background_spawn(...) (#25103) 2025-02-18 20:30:33 +00:00
color_extractor.rs Simplify static expression to a constant (#23193) 2025-01-15 19:31:21 +00:00
connection_manager.rs Remove more references to 'model' in GPUI APIs (#23693) 2025-01-27 04:00:27 +00:00
debounced_delay.rs Rename model based variable names to entity (#24198) 2025-02-04 10:24:35 -08:00
direnv.rs Environment loading fixes (#19144) 2024-10-16 12:14:40 +02:00
environment.rs Improve support for tcsh/csh as login shells (#25122) 2025-02-19 15:31:42 -05:00
git.rs Simplify project git code (#25662) 2025-02-26 18:16:10 +00:00
image_store.rs cx.background_executor().spawn(...) -> cx.background_spawn(...) (#25103) 2025-02-18 20:30:33 +00:00
lsp_command.rs Remove language::markdown (#25136) 2025-02-19 08:55:36 -07:00
lsp_ext_command.rs Fix missed renames in #22632 (#23688) 2025-01-26 23:37:34 +00:00
lsp_store.rs lsp: Add support for dynamic registration of rename capability (#25610) 2025-02-25 23:54:29 +00:00
prettier_store.rs cx.background_executor().spawn(...) -> cx.background_spawn(...) (#25103) 2025-02-18 20:30:33 +00:00
project.rs Improve Zed tasks' ZED_WORKTREE_ROOT fallbacks (#25605) 2025-02-26 22:30:31 +02:00
project_settings.rs Add initial inline diagnostics support (#25297) 2025-02-20 23:39:47 +00:00
project_tests.rs Improve Zed tasks' ZED_WORKTREE_ROOT fallbacks (#25605) 2025-02-26 22:30:31 +02:00
project_tree.rs cx.background_executor().spawn(...) -> cx.background_spawn(...) (#25103) 2025-02-18 20:30:33 +00:00
search.rs Remove unnecessary Arc from AhoCorasick since it's using it internally (#25379) 2025-02-22 09:13:35 +00:00
search_history.rs project search: Persist search history across session (#9932) 2024-04-02 11:13:18 +02:00
task_inventory.rs Improve Zed tasks' ZED_WORKTREE_ROOT fallbacks (#25605) 2025-02-26 22:30:31 +02:00
task_store.rs Rename model based variable names to entity (#24198) 2025-02-04 10:24:35 -08:00
terminals.rs Eliminate GPUI View, ViewContext, and WindowContext types (#22632) 2025-01-26 03:02:45 +00:00
toolchain_store.rs cx.background_executor().spawn(...) -> cx.background_spawn(...) (#25103) 2025-02-18 20:30:33 +00:00
worktree_store.rs Fix some syncing issues with git statuses (#25535) 2025-02-25 22:09:02 -07:00
yarn.rs Eliminate GPUI View, ViewContext, and WindowContext types (#22632) 2025-01-26 03:02:45 +00:00