Context-Free Inline Assists #23253
Replies: 2 comments 3 replies
-
Using inline assist with full context is unique and super powerful feature, but I agree with @NiloCK, often there is a need to do small independent edit so it would be nice to have a toggle or/and separate shortcut to do edit without full context (shift+enter maybe). |
Beta Was this translation helpful? Give feedback.
-
There are significant changes to how context is shared between the inline assistant and assistant panel with the forthcoming Assistant2. As such, this enhancement request is unlikely to be implemented as requested and so I'm going to move this to a discussion. Thanks for reporting! |
Beta Was this translation helpful? Give feedback.
-
Check for existing issues
Describe the feature
I'm a heavy user of the assistant panel. I often have long active chats. But the bundling of these chats adds cost overhead to small, inline, and unrelated assistance requests.
The most common examples are when I ask about specific commands inside the terminal: they rarely require any outside context, but are substantially more expensive than if I run them with a blank context.
Environment
Zed: v0.164.2 (Zed)
OS: Linux Wayland ubuntu 22.04
Memory: 15.4 GiB
Architecture: x86_64
GPU: Intel(R) UHD Graphics (CML GT2) || Intel open-source Mesa driver || Mesa 23.2.1-1ubuntu3.1~22.04.2
If applicable, add mockups / screenshots to help present your vision of the feature
One possible option could be to add a 'clear' or 'trash' icon next to the context notifier during an inline-assist prompt.
Another could be to make a separate command to launch a fresh-context inline assist. Eg,
ctrl-shift-enter
instead ofctrl-enter
.Beta Was this translation helpful? Give feedback.
All reactions