ZIm/crates/assistant/src
Kirill Bulatov d0bafce86b
Allow splitting the terminal panel (#21238)
Closes https://github.com/zed-industries/zed/issues/4351


![it_splits](https://github.com/user-attachments/assets/40de03c9-2173-4441-ba96-8e91537956e0)

Applies the same splitting mechanism, as Zed's central pane has, to the
terminal panel.
Similar navigation, splitting and (de)serialization capabilities are
supported.

Notable caveats:
* zooming keeps the terminal splits' ratio, rather expanding the
terminal pane
* on macOs, central panel is split with `cmd-k up/down/etc.` but `cmd-k`
is a "standard" terminal clearing keybinding on macOS, so terminal panel
splitting is done via `ctrl-k up/down/etc.`
* task terminals are "split" into regular terminals, and also not
persisted (same as currently in the terminal)

Seems ok for the initial version, we can revisit and polish things
later.

Release Notes:

- Added the ability to split the terminal panel
2024-11-27 20:22:39 +02:00
..
context Factor tool definitions out of assistant (#21189) 2024-11-25 18:26:34 -05:00
slash_command Factor tool definitions out of assistant (#21189) 2024-11-25 18:26:34 -05:00
assistant.rs Factor tool definitions out of assistant (#21189) 2024-11-25 18:26:34 -05:00
assistant_panel.rs Allow splitting the terminal panel (#21238) 2024-11-27 20:22:39 +02:00
assistant_settings.rs Remove assistant hints (#21171) 2024-11-25 17:19:33 +01:00
context.rs assistant2: Restructure storage of tool uses and results (#21194) 2024-11-25 21:53:27 -05:00
context_store.rs Factor tool definitions out of assistant (#21189) 2024-11-25 18:26:34 -05:00
inline_assistant.rs Factor out language model selector into its own crate (#21113) 2024-11-23 12:11:31 -05:00
patch.rs Fix more failure cases of assistant edits (#19653) 2024-10-25 14:30:34 -07:00
prompt_library.rs Refactor Spacing into DynamicSpacing using proc macro (#20504) 2024-11-11 11:08:55 -05:00
prompts.rs logs: Reduce log noise by using more debug logs (#20498) 2024-11-11 15:11:20 +01:00
slash_command.rs Fix completions for non-built-in slash commands (#20632) 2024-11-13 15:11:50 -08:00
slash_command_picker.rs Scope slash commands, context servers, and tools to individual Assistant Panel instances (#20372) 2024-11-07 18:23:25 -05:00
slash_command_settings.rs Add settings to remote servers, use XDG paths on remote, and enable node LSPs (#19176) 2024-10-15 23:32:44 -07:00
slash_command_working_set.rs assistant: Fix completions for slash commands provided by context servers (#20423) 2024-11-08 11:35:39 -05:00
streaming_diff.rs Reduce memory footprint for inline transformations (#20296) 2024-11-06 15:07:16 +01:00
terminal_inline_assistant.rs Factor out language model selector into its own crate (#21113) 2024-11-23 12:11:31 -05:00