Live data from Hacker News

Zed now predicts your next edit with Zeta, our new open model

zed.dev

111–120 of 301 posts

Re: Zed now predicts your next edit with Zeta, our new open model

#111
post #81
post #47

> Edit prediction won't be free forever, but right now we're just excited to share and learn. I love Zed, and I'm happy to pay for AI stuff, but I won't be using this until they are done with their rug pull. Once I know how much it costs, I can decide if I want to try integrating it into my workflow. Only THEN will I want to try it, and would be interested in a limited free trial, even just 24 hours. Considering I've…

Hey, my name is Piotr and I work on language servers at Zed. Right now you can run multiple language servers in a single project. Admittedly you cannot have multiple instances of a single language server in a single worktree (e.g. two rust-analyzers) - I am working on that right now, as this is a common pain point for users with monorepos. I would love to hear more about the problems you are having with running langu…

I've been using Zed (with python) for the last few weeks (coming from vscode and nevim). There's a lot I like about Zed. My favorites include the speed and navigation via the symbol outline (and vim mode). I'd have a hard time going back to vscode. The LSP configuration, though, is not one of its best parts, for me. I ended up copy/pasting a few different ruff + pyright configs until one mostly worked and puzzled through how to map the settings from linked pyright docs into Zed yaml. Some better documentation for the configuration stanzas and how they map across the different tool's settings would be really helpful.

I still, for example, can't get Zed / LSP to provide auto-fix suggestions for missing imports. (Which seems like a common stumbling block: https://github.com/zed-industries/zed/discussions/13522, https://github.com/zed-extensions/java/issues/20, https://github.com/zed-industries/zed/discussions/13281)

I'm sure given the breadth of LSPs, that they all have their own config, and use different project config files, makes it hard to document clearly. But it's an area that I hope bubbles up the roadmap in due course.

Re: Zed now predicts your next edit with Zeta, our new open model

#112

Earlier quoted context omitted.

And this is one reason I still don't understand the use of python in large teams! I suppose with very good tests, you might be able to catch something like this, but it seems impossible to me how a PR reviewer might catch a "bug" like this and not just assume that it's intentional.

One of my biggest gripes with python is the fact that the only way to create a local scope for variables is with functions. I understand if statements not having their own scope for simplicity's sake, but the fact that `with` blocks don't is simply mind-bobbling to me. ``` with open("text.txt", 'w') as f: f.write("hello world") f.write("hello world") # at least the handle was automatically closed so it will give an I…

It’s actually very useful to have context managers outlive their with blocks. They are not only used for files:

One example would be a timing context manager:

   with Timer() as t:
      …
   print(t.runtime)
Another example is mocks, where you want to inspect how many times a mock was called and with what arguments, after the mock context manager has finished.

Re: Zed now predicts your next edit with Zeta, our new open model

#113
post #58
post #26

Earlier quoted context omitted.

They use backend configurable at environment variable ZED_PREDICT_EDITS_URL https://github.com/zed-industries/zed/blob/2f734cbd5e2452647... , but I don't know if the /predict_edits/v2 endpoint is something some projects provide or not. At least the model is available and interacting with it seems simple, so it's probably quite realistic to have an open/locally runnable version of it. The model isn't very big.

yeah, i'd like to be able to run it locally. it should fit well onto my 12gb gpu

The model is based on Qwen2.5-Coder-7b it seems. I currently run some quantized variant of Qwen2.5-Coder-7b locally with llama.cpp and it fits nicely in the 8GB VRAM of my Radeon 7600 (with excellent performance BTW), so it looks like it should be perfectly possible.

I would also only use Zeta locally.

Re: Zed now predicts your next edit with Zeta, our new open model

#116
post #85
post #3

I tried CoPilot a while and my biggest gripe was tab for accepting the suggestion. I very often got a ton of AI garbage when I was just trying to indent some code. Tab just doesn't seem like the proper interface for something like this.

Hey! Zed founder here. We totally agree with this and that's why Zed will switch the keybinding for accepting an edit prediction to `alt-tab` when the cursor is in the leading whitespace of a line. This way you can keep using `tab` for indenting in that situation. Also, when there's both an edit prediction and and LSP completion, Zed switches the keybinding to `alt-tab` to prevent the conflict with accepting an LSP c…

For reasons that should be obvious, that's not going to work on Windows.

Re: Zed now predicts your next edit with Zeta, our new open model

#117
post #89
post #78

It's hard to care about AI features when a year later I still can't even get acceptable font rendering: https://github.com/zed-industries/zed/issues/7992

Hey fau, Zed founder here. Apologies if that issue has taken a while to fix: next week is "quality week" at Zed and I am personally going to take a look at it again. Thanks for the feedback!

[deleted]

Re: Zed now predicts your next edit with Zeta, our new open model

#118
post #47

> Edit prediction won't be free forever, but right now we're just excited to share and learn. I love Zed, and I'm happy to pay for AI stuff, but I won't be using this until they are done with their rug pull. Once I know how much it costs, I can decide if I want to try integrating it into my workflow. Only THEN will I want to try it, and would be interested in a limited free trial, even just 24 hours. Considering I've…

>Remote editing does not work on Windows (its not implemented at all), so if you are on windows, you cannot ssh into anything with the editor remote editing feature. This means you cannot use your PC as a thin client to the actual chunky big work machine like you can with vscode. Does this work on anything other than VSCode ? I have been trying to use JetBrains stuff for this but it has been bad for years with little…

Works on JetBrains, vscode, any terminal editor (neovim, vim, nano, etc.). Is it any good? It's fine on JetBrains, great on vscode, the rest is more or less great. Zed does not have it. You want to edit a remote file? You download it, edit it, upload it. That's much worse than a half baked implementation.

Re: Zed now predicts your next edit with Zeta, our new open model

#120
post #47

> Edit prediction won't be free forever, but right now we're just excited to share and learn. I love Zed, and I'm happy to pay for AI stuff, but I won't be using this until they are done with their rug pull. Once I know how much it costs, I can decide if I want to try integrating it into my workflow. Only THEN will I want to try it, and would be interested in a limited free trial, even just 24 hours. Considering I've…

You can definitely run more than one LSP with zed -- can you elaborate on the angular case that gives you trouble?

Sorry, in the same file as the sibling said. In some other editors, you can run multiple LSPs on the same exact file at the same exact time.

A use case is Angular or other more specialized frameworks, that are so abstracted away and dumbed down that each layer of abstraction basically has an LSP.

Post reply on HN