zed icon indicating copy to clipboard operation
zed copied to clipboard

Add support for Supermaven

Open lino-levan opened this issue 10 months ago • 37 comments

Check for existing issues

  • [X] 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 avatar Mar 31 '24 17:03 lino-levan

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.

JosephTLyons avatar Apr 01 '24 14:04 JosephTLyons

This should now be closed given that Supermaven has been added

ThatOneCalculator avatar May 12 '24 22:05 ThatOneCalculator

https://github.com/zed-industries/zed/pull/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.

lino-levan avatar May 15 '24 03:05 lino-levan

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

ThatOneCalculator avatar May 15 '24 03:05 ThatOneCalculator

My bad, updated the linked PR.

lino-levan avatar May 15 '24 04:05 lino-levan

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

vadim-su avatar May 15 '24 18:05 vadim-su

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

lino-levan avatar May 15 '24 19:05 lino-levan

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.

vadim-su avatar May 15 '24 20:05 vadim-su

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.

apz-gh avatar May 18 '24 22:05 apz-gh

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. https://github.com/zed-industries/zed/issues/11537

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

jsandlerus avatar May 19 '24 20:05 jsandlerus

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

On the 0.137.0 version of the nightly.

apz-gh avatar May 20 '24 04:05 apz-gh

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

koenbok avatar May 24 '24 19:05 koenbok

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" :-(

koenbok avatar May 24 '24 20:05 koenbok

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.

damywise avatar May 25 '24 00:05 damywise

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

jsandlerus avatar May 29 '24 16:05 jsandlerus

"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

dylancetin avatar May 30 '24 21:05 dylancetin

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?

laogui avatar May 31 '24 07:05 laogui

Does this still work? I added

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

to my settings and see nothing.

prestonButton avatar Jun 06 '24 15:06 prestonButton

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.

neoighodaro avatar Jun 07 '24 07:06 neoighodaro

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.

darquill avatar Jun 08 '24 21:06 darquill

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!

chrisvander avatar Jun 10 '24 10:06 chrisvander

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 😕

rranjan14 avatar Jun 10 '24 10:06 rranjan14

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!

ivryb avatar Jun 13 '24 11:06 ivryb

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

xcrap avatar Jun 15 '24 14:06 xcrap

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.

ivanlynch avatar Jun 17 '24 15:06 ivanlynch

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?

bridge-jithesh avatar Jun 19 '24 16:06 bridge-jithesh

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.

rranjan14 avatar Jun 19 '24 16:06 rranjan14

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.

bridge-jithesh avatar Jun 19 '24 17:06 bridge-jithesh

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.

rranjan14 avatar Jun 19 '24 17:06 rranjan14

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.

VictorGamerLOL avatar Jun 30 '24 14:06 VictorGamerLOL