ZIm/crates/project/src
Kirill Bulatov bc113e4b51
Move task centering code closer to user input (#22082)
Follow-up of https://github.com/zed-industries/zed/pull/22004 

* Reuse center terminals for tasks, when requested
* Extend task templates with `RevealTarget`, moving it from
`TaskSpawnTarget` into the core library
* Use `reveal_target` instead of `target` to avoid misinterpretations in
the task template context
* Do not expose `SpawnInTerminal` to user interface, avoid it
implementing `Serialize` and `Deserialize`
* Remove `NewCenterTask` action, extending `task::Spawn` interface
instead
* Do not require any extra unrelated parameters during task resolution,
instead, use task overrides on the resolved tasks on the modal side
* Add keybindings for opening the task modal in the
`RevealTarget::Center` mode

Release Notes:

- N/A
2024-12-16 16:15:58 +02:00
..
lsp_command use ssh lsp store (#17655) 2024-09-10 15:51:01 -04:00
buffer_store.rs Remove an unnecessary clone in get_permalink_to_line (#22027) 2024-12-14 15:52:39 -07:00
color_extractor.rs Show color swatches for LSP completions (#18665) 2024-10-03 14:38:17 -04:00
connection_manager.rs chore: Fix several style lints (#17488) 2024-09-06 11:58:39 +02:00
debounced_delay.rs chore: Fix several style lints (#17488) 2024-09-06 11:58:39 +02:00
direnv.rs Environment loading fixes (#19144) 2024-10-16 12:14:40 +02:00
environment.rs environment: Log stderr too if command fails to run (#20659) 2024-11-14 14:44:32 +01:00
image_store.rs image viewer: Allow dropping images on pane (#21803) 2024-12-10 15:01:14 +01:00
lsp_command.rs LspStore: move language_server_ids to local state too (#21786) 2024-12-10 00:15:06 -07:00
lsp_ext_command.rs lsp: Retrieve links to documentation for the given symbol (#19233) 2024-11-16 20:23:49 +02:00
lsp_store.rs Switch from Arc/RwLock to Rc/RefCell for CodeContextMenu (#22035) 2024-12-16 01:50:21 -07:00
prettier_store.rs Add .prettierignore support (#21297) 2024-12-12 15:45:44 -08:00
project.rs Switch from Arc/RwLock to Rc/RefCell for CodeContextMenu (#22035) 2024-12-16 01:50:21 -07:00
project_settings.rs language servers: Fix wrong language server name (#20428) 2024-11-11 10:18:38 +01:00
project_tests.rs Start to split out initialization and registration (#21787) 2024-12-11 14:05:10 -07:00
search.rs search: Treat non-word char as whole-char when searching (#19152) 2024-11-28 11:06:48 +02:00
search_history.rs project search: Persist search history across session (#9932) 2024-04-02 11:13:18 +02:00
task_inventory.rs Move task centering code closer to user input (#22082) 2024-12-16 16:15:58 +02:00
task_store.rs Add the ability for tasks to target the center pane (#22004) 2024-12-13 19:39:46 -08:00
terminals.rs Add the ability for tasks to target the center pane (#22004) 2024-12-13 19:39:46 -08:00
toolchain_store.rs toolchains: Run listing tasks on background thread (#21414) 2024-12-02 21:03:31 +01:00
worktree_store.rs lsp: Add support for didRename/willRename LSP messages (#21651) 2024-12-07 13:08:18 +01:00
yarn.rs chore: Fix several style lints (#17488) 2024-09-06 11:58:39 +02:00