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

Does codeium really support Emacs? #119

Open
Sbozzolo opened this issue Sep 15, 2024 · 8 comments
Open

Does codeium really support Emacs? #119

Sbozzolo opened this issue Sep 15, 2024 · 8 comments

Comments

@Sbozzolo
Copy link

The website codeium.com claims that Emacs is one of the supported platforms and links to this repo as the official way to use the software in my preferred editor.

Looking at this repo, it seems that the level of support is minimal at best.
There have been no meaningful update in over a year, questions in the Issues are not being answered, and not all the features are available.

This is what codedium promises in the greeting email:

Welcome to Codeium! Thank you for choosing us to level up your coding. Here's how it works:

Unlimited Autocomplete: simply start writing code as you would and Codeium will automatically suggest ways to complete either your line(s) or block.
Context Awareness: If you have a library pulled up on your editor that you are working with, Codeium will take it into account when providing autocomplete suggestions.
Codeium Chat: You can open up our Codeium Chat panel in the sidebar to ask our AI questions about your code and your own codebase! Pro tip: Type @ in the message input to insert snippets of your code, reference external docs, and more.
Code lenses: You’ll notice "Refactor", "Explain", and "Generate Docstring" code lenses above your functions. These AI features help speed up your workflow in an easy to access manner. They are toggle-able in the extension settings if you wish to turn them off.
Badges, Achievements and Stats: You’ll earn cool trophies and reach higher levels the more you use Codeium. You can even share your profile with your friends where you can see your coding stats (number of autocomplete suggestions accepted, number of chats sent etc).

This is what I expect to see when using an officially supported platform.

If there's different tiers of support, I think that this should be highlighted on the website, or at least mentioned in the readme of this repo.

@tjohnman
Copy link

tjohnman commented Sep 16, 2024

It's synchronous, does not take into account other open files, or imports (or maybe the binary backend it downloads when you install it does do this), and does not offer chat, or any code lenses or actions. All it does is fetch a few completion candidates taking into account a fragment of the current buffer, and tries to shove it among other completions your backend might be giving you (and poorly at that).

It's a pity considering how much I enjoy it on that other very popular editor, but sadly, Codeium does not support Emacs in any meaningful way.

It does provide an API, should you want to write a proper package yourself.

@niontrix
Copy link

@tjohnman is there some documentation to be found on the API you're talking about?

@tjohnman
Copy link

@tjohnman is there some documentation to be found on the API you're talking about?

I don't think so, no. It seems like reading the source on this repository is the only way to go about it.

@petrem
Copy link

petrem commented Oct 24, 2024

It's a pity considering how much I enjoy it on that other very popular editor, but sadly, Codeium does not support Emacs in any meaningful way.
It does provide an API, should you want to write a proper package yourself.

That's all good and well, but they claim Emacs support, not limited-and-often-not-working support. It's listed up there with all the popular, big-tech-sponsored or provided editors, where it works and where bugs get fixed, as a change. For me, this does not compute :).

@frazze-jobb
Copy link

frazze-jobb commented Nov 6, 2024

My digging in this resulted in these resources, I don't use emacs myself or know much about emacs lisp,
but I have colleagues that does use emacs, and therefore I have an interest in getting codeium support in it to adopt AI enhancements in our team.

There exists an implementation for chat in Vim
Codeium Chat support for Vim added

Maybe something to extract from the IntelliJ implementation
IntelliJ plugin Github repo

The API spec, that is somewhat lacking
Codeium Extension Specification

Here is AI Chat support for Emacs, which can be reused as a basis, just replace with the codeium api calls found in the vim/intellij implementation
Ancilla - AI Chat support for Emacs

Could be worth looking at Copilot Emacs Plugin, since I've read that the way codeium.el does things might not be the right way

@polhuang
Copy link

polhuang commented Nov 7, 2024

The first improvement in usability would be to return completions in an overlay instead of the completion system. I've been thinking about giving it a go myself but haven't had the time.

@gamecubate
Copy link

I've been banging my head on the wall trying to get this to work. I've seen rocks with more activity in them. Moving on, sadly.

@luciusmagn
Copy link

Yeah, overlay seems to be the way to go

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

8 participants