ZIm/crates/workspace/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
..
persistence workspace: Sanitize pinned tab count before usage (#21417) 2024-12-02 19:56:52 +01:00
shared_screen Simplify livekit config so that cargo check Just Works (#21661) 2024-12-06 13:50:59 -08:00
dock.rs Toggle & Switch (#21979) 2024-12-13 14:23:02 -05:00
item.rs Add option to activate left neighbour tab on tab close (#21800) 2024-12-10 15:05:36 +02:00
modal_layer.rs chore: Fix several style lints (#17488) 2024-09-06 11:58:39 +02:00
notifications.rs Add settings to remote servers, use XDG paths on remote, and enable node LSPs (#19176) 2024-10-15 23:32:44 -07:00
pane.rs Fix terminal pane tabs arrangement and closing (#22013) 2024-12-14 16:13:04 +02:00
pane_group.rs Allow splitting the terminal panel (#21238) 2024-11-27 20:22:39 +02:00
persistence.rs toolchains: Expose raw JSON representation of a toolchain (#20721) 2024-11-21 13:27:25 +01:00
searchable.rs Display buffer/project search entries in the outline panel (#16589) 2024-08-25 21:40:02 +03:00
shared_screen.rs Simplify livekit config so that cargo check Just Works (#21661) 2024-12-06 13:50:59 -08:00
status_bar.rs Status bar: Reduce right tools lateral margin (#21329) 2024-11-29 10:56:32 -03:00
tasks.rs Move task centering code closer to user input (#22082) 2024-12-16 16:15:58 +02:00
theme_preview.rs Toggle & Switch (#21979) 2024-12-13 14:23:02 -05:00
toolbar.rs Refactor Spacing into DynamicSpacing using proc macro (#20504) 2024-11-11 11:08:55 -05:00
workspace.rs Hide the implementation of Task (#22009) 2024-12-14 02:52:22 -07:00
workspace_settings.rs workspace: Fix doc comments (#22063) 2024-12-16 08:27:14 -05:00