Open FuexFollets opened 1 week ago
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.
After accepting single word or single line completions with
codeium#AcceptNextWord
orcodeium#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.