Skip to content

Shortcut for accepting inline suggestions line by line #20497

Closed Answered by SomeoneToIgnore
hchamre asked this question in Q&A
Discussion options

You must be logged in to vote

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.

  • we need to test this

Example of an action modification: #19593

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@hchamre
Comment options

Answer selected by hchamre
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants