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

Add support for Supermaven #10013

Open
1 task done
lino-levan opened this issue Mar 31, 2024 · 41 comments
Open
1 task done

Add support for Supermaven #10013

lino-levan opened this issue Mar 31, 2024 · 41 comments
Labels
ai Improvement related to Assistant, Copilot, or other AI features assistant AI feedback for Assistant (inline or panel) enhancement [core label] supermaven

Comments

@lino-levan
Copy link
Contributor

Check for existing issues

  • Completed

Describe the feature

Supermaven is a really cool new code copilot that really makes Github's solution look awful. It'd be great to get first class support of Supermaven in Zed.

If applicable, add mockups / screenshots to help present your vision of the feature

No response

@lino-levan lino-levan added admin read Pending admin review enhancement [core label] triage Maintainer needs to classify the issue labels Mar 31, 2024
@Moshyfawn Moshyfawn added ai Improvement related to Assistant, Copilot, or other AI features assistant AI feedback for Assistant (inline or panel) and removed triage Maintainer needs to classify the issue labels Mar 31, 2024
@JosephTLyons JosephTLyons removed the admin read Pending admin review label Apr 1, 2024
@JosephTLyons
Copy link
Collaborator

JosephTLyons commented Apr 1, 2024

Hey @lino-levan - Supermaven is something we are interested in supporting, as it looks great! Someone on the team might be in the middle of adding it, I'll have to double check.

@ThatOneCalculator
Copy link
Contributor

ThatOneCalculator commented May 12, 2024

This should now be closed given that Supermaven has been added

@lino-levan
Copy link
Contributor Author

lino-levan commented May 15, 2024

#10788

Note: Supermaven support is only available for internal testing within the Zed organization and has not been publicly released yet.

Let's wait for this to be available outside of internal testing.

@ThatOneCalculator
Copy link
Contributor

Where did you get that quote from? I don't see it on the linked PR.

@lino-levan
Copy link
Contributor Author

My bad, updated the linked PR.

@vadim-su
Copy link

@lino-levan does supermaven support chats? I didn't find information about that

@lino-levan
Copy link
Contributor Author

Supermaven does not support chat yet. The team is working on it iirc.

@vadim-su
Copy link

Supermaven does not support chat yet. The team is working on it iirc.

Ok, I will give the trial period a try, but without the ability to chat, it seems useless to me. I gather a lot of information from conversations with AI, and code completion is a nice bonus.

@apz-gh
Copy link

apz-gh commented May 18, 2024

how do we enable supermaven instead of copilot on the nightly version? Downloaded the nightly version from https://zed-nightly-host.nyc3.digitaloceanspaces.com/nightly/Zed-aarch64.dmg

Supermaven Pro activated from VScode.

@jsandlerus
Copy link

jsandlerus commented May 19, 2024

The feature hasn't been released yet, the latest version of zed is 0.135.2, the bug fix related to this ticket is on 0.137.0, so I guess we need to wait a few more weeks for supermaven to be enabled in prod. #11537

Thanks for all the work to the Zed team! I've never been so excited for a feature like now haha

@apz-gh
Copy link

apz-gh commented May 20, 2024

CleanShot 2024-05-20 at 10 02 05@2x

On the 0.137.0 version of the nightly.

@koenbok
Copy link

koenbok commented May 24, 2024

I'm on Zed Nightly 0.138.0. How can you enable SuperMaven?

@koenbok
Copy link

koenbok commented May 24, 2024

I found it, you need to add this to your config:

  "features": {
    "inline_completion_provider": "supermaven"
  }

The icon in the editor appears but stays stuck on "Initializing Supermaven" :-(

@damywise
Copy link

I'm also always stuck on "Initializing Supermaven" but it does work.
Though it doesn't work as good as on vsc, it's only able the add but not replace the autocompleted code.

@jsandlerus
Copy link

jsandlerus commented May 29, 2024

I know is a little off-topic but how can I get Zed Nightly? Is some beta version of zed?

Edit: Found it! https://zed.dev/releases/preview

@dylancetin
Copy link

dylancetin commented May 30, 2024

"features": { "inline_completion_provider": "supermaven" },

I have added this to my zed config. I have Supermaven working. But the icon popover is locked in "Supermaven initializing". I am guessing this is not expected behaviour.

Screenshot 2024-05-31 at 00 42 37

@laogui
Copy link

laogui commented May 31, 2024

The same issue, enabled supermaven, it works normally, but the icon always displays "Supermaven initializing".
Additionally, not making me login to supermaven, is it free on zed?

@prestonButton
Copy link

Does this still work? I added

"features": {
    "inline_completion_provider": "supermaven"
 }

to my settings and see nothing.

@neoighodaro
Copy link

The same issue, enabled supermaven, it works normally, but the icon always displays "Supermaven initializing". Additionally, not making me login to supermaven, is it free on zed?

There's a free tier on Supermaven so thats likely being used as a fallback.

@darquill
Copy link

darquill commented Jun 8, 2024

Supermaven creates a config file in your home, with your API key if you have the pro version. You can configure it via vscode and then I think zed should pick that up correctly.

@chrisvander
Copy link

chrisvander commented Jun 10, 2024

Supermaven does work but with the following issues:

  • Infill does not work. It suggests the entire line, including what's already been typed after it.
  • It displays "Supermaven initializing..." even when running

I will say though- Supermaven is really impressive for what I've got it to work on!

@rranjan14
Copy link

Supermaven creates a config file in your home, with your API key if you have the pro version. You can configure it via vscode and then I think zed should pick that up correctly.

Unfortunately, it's not working 😕

@ivryb
Copy link

ivryb commented Jun 13, 2024

I have the same issues as @chrisvander.
It always tries to paste additional closing brackets.
It works really fast and accurately though, much better than GH Copilot!

@xcrap
Copy link

xcrap commented Jun 15, 2024

Yeah I was trying but it's stuck on Supermanve initializing.

@ivanlynch
Copy link

I know that my supermaven is running because it can autocomplete from the middle of the line, which Copilot can't do. I think the status icon is just stuck on initializing, but it works.

@bridge-jithesh
Copy link

Can confirm supermaven is working even though it shows initializing. I wonder how it took my API key? it never asked for it. perhaps it works because I already use it on VS code?

@rranjan14
Copy link

Can confirm supermaven is working even though it shows initializing. I wonder how it took my API key? it never asked for it. perhaps it works because I already use it on VS code?

Very strange. I use it on VSCode too. Not working for me on zed.

@bridge-jithesh
Copy link

Can confirm supermaven is working even though it shows initializing. I wonder how it took my API key? it never asked for it. perhaps it works because I already use it on VS code?

Very strange. I use it on VSCode too. Not working for me on zed.

For what its worth, I tried it first on Preview build. I thought it only works there but to my surprise it works on the stable build too. M1 Mac.

@rranjan14
Copy link

Can confirm supermaven is working even though it shows initializing. I wonder how it took my API key? it never asked for it. perhaps it works because I already use it on VS code?

Very strange. I use it on VSCode too. Not working for me on zed.

For what its worth, I tried it first on Preview build. I thought it only works there but to my surprise it works on the stable build too. M1 Mac.

I am on the latest preview build as well. Unfortunately, doesn't work for me. I am on M2 Mac.

@VictorGamerLOL
Copy link

I just built zed on arch linux and for what it's worth it works for me, ish. Completions work once I signed it but it does not show that I am signed in. When I restart zed it gets stuck in the initializing state. I do have VSCode installed but I never used supermaven on it.

@robipop22
Copy link

Hey everyone, I just installed supermaven on Zed and Mac Studio with m2.

After successfully login (it took a few tries) it's get stucked at "initializing" but it seems that is working.
Autocompletes are there and it seems that is working (GH Copilot is disabled so the autocomplete must come from supermaven).
From my side it's only looking like the icon is "stuck" at initializing, but everything else seems to work.

Zed Version: 0.141.3

@moinulmoin
Copy link

Hey everyone, I just installed supermaven on Zed and Mac Studio with m2.

After successfully login (it took a few tries) it's get stucked at "initializing" but it seems that is working. Autocompletes are there and it seems that is working (GH Copilot is disabled so the autocomplete must come from supermaven). From my side it's only looking like the icon is "stuck" at initializing, but everything else seems to work.

Zed Version: 0.141.3

yes it's working

@ray-pH
Copy link

ray-pH commented Jul 4, 2024

Hey everyone, I just installed supermaven on Zed and Mac Studio with m2.

After successfully login (it took a few tries) it's get stucked at "initializing" but it seems that is working.
Autocompletes are there and it seems that is working (GH Copilot is disabled so the autocomplete must come from supermaven).
From my side it's only looking like the icon is "stuck" at initializing, but everything else seems to work.

Zed Version: 0.141.3

I was never prompted to log in. Right after changing from copilot to supermaven, the icon immediately says "initializing". Is there a way to manually trigger the login?

@swdunlop
Copy link

swdunlop commented Jul 4, 2024

Is there a way to manually trigger the login?

Supermaven seems to use an api_key in ~/.supermaven/config.json to authenticate its extension. Setting up Supermaven in Visual Code with their extension, then using Zed, did the trick for me on MacOS.

That said, it still shows "Supermaven Initializing" as a tooltip over the Supermaven icon in Zed 0.142.5 even though everything mostly works.

The UX is still a little rough -- the completions tend to clash with editor state when filling in the middle of a line, see #13039.

@ch4nd4n
Copy link

ch4nd4n commented Aug 4, 2024

"inline_completion_provider": "supermaven"

It worked once I restarted zed. I am on M1 Mac.

@DenisBessa
Copy link

I was able to solve the "Superman Initializing" problem. See #15653 (comment)

@Spoutnik97
Copy link

It works like a charm for me!

What about the chat that was released on June ? https://supermaven.com/blog/supermaven-chat

@mvavassori
Copy link

mvavassori commented Aug 24, 2024

If somebody has still the problem of Supermaven stuck on "Initializing" what worked for me (on Ubuntu) is to delete the ~/.supermaven folder and then restart zed. It will unstuck the "Initializing" state and ask you to sign in again.

@fr3fou
Copy link

fr3fou commented Oct 3, 2024

any updates on the chat feature?

@bhanusanghi
Copy link

Is the latest from supermaven that is multiline edits and jumps already supported? That would be just great to have..

@romaninsh
Copy link

Supermaven joins Cursor

https://www.cursor.com/blog/supermaven

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ai Improvement related to Assistant, Copilot, or other AI features assistant AI feedback for Assistant (inline or panel) enhancement [core label] supermaven
Projects
None yet
Development

No branches or pull requests