Shortcut for accepting inline suggestions line by line #20497
-
Hi! I'm working on porting my custom VS Code keymap to Zed, but I'm encountering an issue with one particular shortcut: accepting inline suggestions line by line. Below is a table showing my attempt to map VS Code actions to their corresponding Zed actions:
Does Zed currently support an action for accepting inline suggestions line by line? If not, would it be possible to submit a feature request for this? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
There's no any support for this action indeed and a PR could be good. I think we can do this by keeping the action set as is and extending the
Example of an action modification: #19593 |
Beta Was this translation helpful? Give feedback.
There's no any support for this action indeed and a PR could be good.
I think we can do this by keeping the action set as is and extending the
AcceptPartialInlineCompletion
struct to have a field, which tells how to accept the suggestion partially to the next whitespace or line end.Keeping the default to whitespace option default, we'll have nothing broken and a new thing added on top relatively organically.
Example of an action modification: #19593