val-town / codemirror-codeium

Codeium code completion integration for CodeMirror 6
https://val-town.github.io/codemirror-codeium/
Other
53 stars 4 forks source link

Support typing into the compltion #5

Open tmcw opened 7 months ago

tmcw commented 7 months ago

https://github.com/val-town/codemirror-codeium/assets/32314/d68c9126-dcce-43b7-b2d7-76dde316e097

VS Code lets you do this, as did the plugin that this is modeled after. You type parts of the suggested text and instead of clearing the suggestion, it kind of gradually accepts it.

This was harder to adjust to the Codeium way of doing things, which can include multiple suggestions in a single batch at different parts of the document. But it's good behavior and it'd be nice to bring it back.