-
-
Notifications
You must be signed in to change notification settings - Fork 7.2k
Description
Summary: Add an action for accepting the next line of an inline completion (editor::AcceptNextInlineCompletion)
The request is to introduce a new editor action for accepting inline suggestions on a line-by-line basis, analogous to the "Accept Next Line" functionality present in Visual Studio Code.
Description
In VS Code, I can accept inline suggestions a line at a time using a dedicated keyboard shortcut. This feature allows me to use inline suggestions more effectively, since it's quite common for me that the full suggestion is less useful than just accepting the first line. This action is related to other actions for accepting inline completions. The table below shows the mapping from inline suggestion actions in VS Code to Zed actions:
| VS Code Action | Zed Action |
|---|---|
editor.action.inlineSuggest.acceptNextWord |
editor::AcceptPartialInlineCompletion |
editor.action.inlineSuggest.acceptNextLine |
Currently Unavailable (Requested Feature) |
editor.action.inlineSuggest.commit |
editor::AcceptInlineCompletion |
Expected benefits from adding this action:
- Enhances the user experience by allowing faster and more efficient use of inline code suggestions.
- Aligns Zed's feature set more closely with VS Code which can help users transitioning from VS Code to Zed by preserving their workflow.
Environment
Zed: v0.160.7 (Zed)
OS: macOS 15.1.0
Memory: 32 GiB
Architecture: aarch64
If applicable, add mockups / screenshots to help present your vision of the feature
No response