Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Partial completions (single word or line) make unnecessary completion requests #383

Open
FuexFollets opened this issue Jun 13, 2024 · 1 comment

Comments

@FuexFollets
Copy link

After accepting single word or single line completions with codeium#AcceptNextWord or codeium#AcceptNextLine codeium makes new requests which returns new suggestions each time. The problem here is that it discards the previous completion and makes unnecessary requests. Additionally, someone may want to only accept a few words or lines of the completion, not just one. Also, if the rest of the completion was cached, completions after single words would be much faster.

@LeonardoMor
Copy link
Contributor

LeonardoMor commented Jun 15, 2024

This is true and I understand. But what if I wanted only the n next words and then a new suggestion? I guess you could make it so that the trigger suggestion deletes the cached completion and repopulates it. But I don't know, there might be better ways to do it.

It would be really cool to do something like 3<C-Right> to accept the next 3 words for example. Or 2<Right> to accept the next two lines. But this looks difficult to implement. At least for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants