ZIm/crates/assistant/src
Thorsten Ball ad43bbbf5e
inline completions: Add action to toggle inline completions (#16947)
This adds a new action: `editor: toggle inline completions`.

It allows users to toggle inline completions on/off for the current
buffer.

That toggling is not persistent and when the editor is closed, it's
gone.

That makes it easy to disable inline completions for a single text
buffer, for example, even if you want them on for other buffers.

When toggling on/off, the toggling also overwrites any language
settings. So if you have inline completions disabled for Go buffers,
toggling them on takes precedence over those settings.


Release Notes:

- Added a new editor action to allow toggling inline completions
(Copilot, Supermaven) on and off for the current buffer, taking
precedence over any settings.

Co-authored-by: Antonio <antonio@zed.dev>
2024-08-27 15:51:57 +02:00
..
context Simplify logic & add UI affordances to show model cache status (#16395) 2024-08-19 12:06:14 -07:00
slash_command A set of small fixes (#16849) 2024-08-26 02:24:08 +03:00
workflow inline completions: Add action to toggle inline completions (#16947) 2024-08-27 15:51:57 +02:00
assistant.rs Improve Linux terminal keymap and context menu (#16845) 2024-08-26 01:01:46 +03:00
assistant_panel.rs Implement "join pane into next" (#16077) 2024-08-27 00:51:51 +03:00
assistant_settings.rs Add max_output_tokens to OpenAI models and integrate into requests (#16381) 2024-08-21 00:39:10 -04:00
context.rs assistant: Refesh message headers only for dirty messages (#16881) 2024-08-26 18:16:23 +02:00
context_store.rs Rename is_local to is_local_or_ssh (#16717) 2024-08-22 21:32:51 -06:00
inline_assistant.rs inline completions: Add action to toggle inline completions (#16947) 2024-08-27 15:51:57 +02:00
model_selector.rs assistant: Fix model selector check icon overflow (#16716) 2024-08-26 17:32:32 -07:00
prompt_library.rs inline completions: Add action to toggle inline completions (#16947) 2024-08-27 15:51:57 +02:00
prompts.rs assistant: Normalize line endings for prompts loaded from templates (#16808) 2024-08-26 10:34:20 -04:00
slash_command.rs Display default prompts more elaborately (#16471) 2024-08-19 18:44:52 +03:00
slash_command_picker.rs assistant: Add the "create your command" item (#16467) 2024-08-19 12:29:16 -03:00
slash_command_settings.rs assistant: Put /docs and /project behind a setting (#16186) 2024-08-13 17:32:24 -04:00
streaming_diff.rs Improve streaming git diffs to be less jumpy during inline assistant generation (#15853) 2024-08-06 16:13:29 +03:00
terminal_inline_assistant.rs Implement Anthropic prompt caching (#16274) 2024-08-15 22:21:06 -05:00
workflow.rs assistant: Add imports in a single area when using workflows (#16355) 2024-08-19 19:01:45 +02:00