Support code completion
To upvote this issue, give it a thumbs up. See this list for the most upvoted issues.
Similar to copilot inline completions.
We should support in the protocol a request for code completion, pretty similar to LSP one but showing in the editor as an inline completion, proposing to user the completion.
- We may want to have options to configure which model use for those inline completions.
@editor-code-assistant/maintainers would love to hear your thoughts about which options this feature should have
For inspiration, the copilot package already does this well, except it seems to need some extra setup. I can even use regular LSP completions separately from copilot completions and they don't clash much.
I followed this, which works well: https://robert.kra.hn/posts/2023-02-22-copilot-emacs-setup/
@jplindstrom good news I started working on that yesterday and following copilot package, yeah hopelfully it will be pretty similar with less setup
Hey everyone, I meged to master the completion branch and added support for Emacs for now!
It's still in alpha though, especially the system prompt passed to LLM, from my tests it's still not as good as copilot, probably we can tune it or check for better models, like gpt-4o which seems to behave way better than any other model for completion.
I opened a separated issue for this subject.
Any help tunning or understanding how to improve that is welcome!