ZIm/crates/language_tools/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
..
language_tools.rs Improve the look of the syntax tree view UI 2023-06-12 15:14:57 -07:00
lsp_log.rs inline completions: Add action to toggle inline completions (#16947) 2024-08-27 15:51:57 +02:00
lsp_log_tests.rs lsp: Add server-side tracing support (#15230) 2024-07-29 01:53:30 +02:00
syntax_tree_view.rs Simplify constructing tab content that is purely textual (#14695) 2024-07-17 20:11:05 -04:00