Readit News logoReadit News
lionkor · 10 months ago
> 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 seen products like this range from free to hundreds of dollars per month, I'd rather not find out how good it is and then find out I can't afford it.

Other than that for anyone wanting to try Zed:

- You can only run one LSP per file type, so your Rust will work fine, your C++, too, your Angular will not.

- 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. I've seen a PR that adds windows ssh support, but it looked very stale.

mstade · 10 months ago
> - You can only run one LSP per file type, so your Rust will work fine, your C++, too, your Angular will not.

As a web developer that's an immediate deal breaker. I use Sublime today and being able to run multiple LSP servers per file is a huge boon, it turns a very capable text editor into a total powerhouse. The way it's set up in Sublime with configuration options that can be applied very broadly or very specifically, while having defaults that just works is also just incredible.

While I'm super pleased with Sublime and a happy paying customer since at least a decade, and at this rate may well be for another decase, I'm always keeping my ear to the ground for other editors if nothing else just to stay current. Zed's been looking pretty cool, but things like this will keep me from even just trying it. There's years of muscle memory and momentum built up in my editor choice, I'm not switching on whim.

Thank you very much for sharing this nugget of gold!

urschrei · 10 months ago
I'm not a regular Zed user, but this isn't true: I simultaneously ran the Ruff and Pyright LSPs when I used it last week.
jermberj · 10 months ago
That's ... uh ... not what a rug pull is. They're telling you plainly from the jump that they're going to eventually charge for it. Point taken on your wish to wait, that makes perfect sense.
santoshalper · 10 months ago
They're just telling you it's not going to be $0.00. It could be $5/year, $20/mo or anything else. It's the gentleman's rug-pull.
lionkor · 10 months ago
I would love to edit my comment to instead say "having the rug pulled from under my feet", which is the feeling I was expressing.
maxbrunsfeld · 10 months ago
Just to clarify, you can run as many LSPs in a given file type as you want.

Common features like completions, diagnostics, and auto-formatting will multiplex to all of the LSPs.

Admittedly, there are certain features that currently only use one LSP: inlay hints and document highlights are examples. For which LSP features is multi-server support important to you? It shouldn't be too hard to generalize.

tekacs · 10 months ago
From their overall FAQ:

> Q: Will Zed be free?

> A: Yes. Zed will be free to use as a standalone editor. We will instead charge a subscription for optional features targeting teams and collaboration. See "how will you make money?".

> Q: How will you make money?

> A: We envision Zed as a free-to-use editor, supplemented by subscription-based, optional network features, such as:

  - Channels and calls
  - Chat
  - Channel notes

  We plan to offer our collaboration features to open source teams, free of charge.
It seems to me that they're just going to charge for Zeta if they do, because it... costs them money to run.

Unlike others (e.g. Cursor), they've opened it (and its fine-tuning dataset!), so you can just run it yourself if you want to bear the costs...

They did something similar with LLM use, where for simplicity they gave you LLM use, but you could use them directly too.

tuananh · 10 months ago
for Cursor, if you use OpenAI api key for example, it's kinda cripple because the tab edit model is also proprietary.
rafaelmn · 10 months ago
>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 improvement. Honestly JetBrains feels like they are falling behind further and further in terms of adapting to providing a modern workflow - bad remote work, bad gen AI integration. I'm using VS code even where I wouldn't consider it before because of this, and I would like to see what the alternatives have to offer because VSCode is not perfect either.

pjmlp · 10 months ago
As someone that is old enough to have used UNIX development servers for the whole company, with PC thin clients, reading about remote development as modern workflow is kind of hilarious.
MobiusHorizons · 10 months ago
It’s not exactly the same paradigm as remote editing, but neovim in tmux accessed over mosh is my preferred way of accomplishing the same task. I have also gotten a neovim gui to connect with a neovim instance over ssh, which worked pretty well until the ssh connection broke. But I prefer my editor in a terminal rather than terminals in my editor, so I switched back to my tmux based workflow.
lionkor · 10 months ago
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.
vasco · 10 months ago
With the speed that models are coming out at and the amount of VC subsidies in trials my approach is the opposite, I don't get too attached and keep trying different tools and models.
winternewt · 10 months ago
And that's why most of these endeavors are doomed to fail. Every time they enshittify one service there's a new one with attractive UX that VC's essentially pay you to use instead. And so the previous investment would be lost if they couldn't dump it on naive stock traders by going public before the cat is out of the bag.
kristofferR · 10 months ago
It's like the recent Samsung phones, functionality fees are waived until 2026. No word about the price yet. [1]

Samsung should be avoided like the plague anyway, I've never seen such a malicious and hostile company! On Dec 13 they silently announced that they were gonna break Samsung APIs on Dec 30 [2]. Yeah, they gave devs the "You gotta spend your holidays fixing our mess, otherwise your app will break". Due to that Samsung is still broken in Home Assistant and other API integrations. [3]

[1] https://youtu.be/a4NJNdHqs_I?t=418

[2] https://community.smartthings.com/t/changes-to-personal-acce...

[3] https://github.com/home-assistant/core/issues/133623

KPGv2 · 10 months ago
> Samsung should be avoided like the plague anyway

I've avoided them for years. I had a Samsung phone a long time ago, and I'd rooted it to run one of those apps that could automate tasks (Tasker?), with a killer feature being when I turn my phone upside down, it goes on silent mode. Standard now, but back then wasn't possible on Android, and Tasker enabled it. And also some geofencing stuff. If I got a text while going faster than 10mph it would respond back "driving right now, will respond later."

Anyway, Samsung released an upgrade that I'd heard would eradicate root and make it impossible going forward. Something to do with Knox, a corporate way of locking down phones for employees.

I repeatedly declined to upgrade.

Finally, one night, with my phone in another room, it force-installed the update, with Knox, on my phone, wiping out my root, making it impossible going forward, and making Tasker worthless for me.

I've never given Samsung another cent. No company that will disobey me re my own property and will remotely hack my device and wipe out my content can be trusted, and that's essentially what they did.

For similar reasons, I've never given Sony any money since the rootkit scandal. 2025 marks twenty years of no Sony. I've probably unknowingly seen a few Sony films, but that's it. No electronics, no games, etc.

Larrikin · 10 months ago
As an Android user and developer, it's always annoying reading reviews where Samsung gets 9.5 out of ten and they give a terrible review to the competition because they have a slightly better camera. They give you a terrible Touch Wiz UI/whatever crap interface they switched to, change all the fonts, move around menu items and buttons, slightly change all the stock apps to be worse, push their garbage store, etc. Samsung Galaxy 1 was legitimately a good phone, but all the modern reviews just feel like author grew up with all the garbage that Samsung brings and thinks that is actually a good experience
diodak · 10 months ago
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 language servers in your projects. Is there any chance for us to speak on our community Discord or via onboarding call (which you can book via https://dub.sh/zed-c-onboarding)?

rbetts · 10 months ago
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.

Nuzzerino · 10 months ago
I'm curious if you've given thought to improving json-schema support. Zed just packages VSCode's implementation (https://github.com/zed-industries/json-language-server ), which is generally decent, but hasn't been able to keep up with the spec, and I doubt they ever will at this point (Example: https://github.com/microsoft/vscode/issues/165219).

The newer specs for json-schema (not supported by VSCode) allow for a wider range of data requirements to be supported by a schema without that schema resorting to costly workarounds. VSCode's level of support for this is decent, but is still a pain point as it creates a sort of artificial restriction on the layout of your data that you're able to have without unexpected development costs. This of course can lead to missed estimates and reduced morale.

I understand that very few developers are directly producing and maintaining schemas. Those schemas do have an impact on most developers though. I think this is a problem that is being sadly overlooked, and I hope you can consider changing the status quo.

Love the company name btw, sounds similar to my own Nuzz Industries (not a real company, just a tag I've slapped onto some projects occasionally as a homage to Page Industries from Deus Ex).

lionkor · 10 months ago
Hi, thank you. I specifically meant running multiple LSPs in the same file at the same time, akin to vscode.
d_tr · 10 months ago
> Other than that for anyone wanting to try Zed:

Also, no support for debugging yet.

onionisafruit · 10 months ago
I keep getting interested in Zed then rediscovering how much I like the easy debugging in jetbrains IDEs. Last time I checked Zed had a PR in progress. Maybe next time I think about it, Zed will be ready for me.
trcarney · 10 months ago
I asked them about this on X and they are working on one. I use Zed for everything now but must keep VS Code around just for the debugger. I can't wait to delete it.
delduca · 10 months ago
You do not need debugging if you have AI.
choilive · 10 months ago
I don't think this is a concern. Zed and Zeta are both open source. Fork it, self host it, whatever.
spmurrayzzz · 10 months ago
Absolutely. This is already what I've been doing myself. Forked zed so I could use my local rig (4x 3090) to do FIM completions using a finetuned qwen coder 32B.

Only barrier for some folks will be if they're not familiar with rust or local LLMs in general, but it really wasn't that difficult looking back on it. Amounted to about an afternoon's worth of work.

jstummbillig · 10 months ago
When products evolve rapidly, pricing will too. Whatever Zed or any actor is doing now or in 6 month on either front says little about what will happen next.

Just try what people offer right now, at a price point that you are okay with, right now. In a year, both product and price will probably be moot.

bastardoperator · 10 months ago
What kind of mentality is this? I remember before snapple was a widely known name they used to give out free bottles all over Los Angeles. I never thought to myself, I better not taste this free drink until I know the actual price.
santoshalper · 10 months ago
Totally different. You aren't adjusting your development workflow based on a soft drink. If it weren't a rug-pull, why wouldn't they charge for it immediately, or at least tell us the price now?

They are specifically hoping you'll become dependent on it and then feel compelled to pay. This shit works because people like you believe it doesn't.

ubercore · 10 months ago
You can definitely run more than one LSP with zed -- can you elaborate on the angular case that gives you trouble?
rootnod3 · 10 months ago
I think the point is: "per file". Sure you an run a Rust LSP in one file and a JS LSP in another, but you can't drive both in the same file.
lionkor · 10 months ago
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.

SkiFire13 · 10 months ago
Even if you know how much it costs, how can you be sure they won't increase the price later on?
brookst · 10 months ago
Is there anything worthwhile that costs the same now that it did 50 years ago?
autobodie · 10 months ago
Even if I know I am alive, how can I be sure I won't die later on?
clint · 10 months ago
Not a rug pull. Just use it. If you like it and the price is too high. Don't pay it. What is the problem? Are you afraid that you'll like the feature so much that you'll pay whatever the cost?
725686 · 10 months ago
So if they let you try a Ferrari for free, you wouldn't because you might like it but you can't afford it? I would, even if I know I could never buy one.
lionkor · 10 months ago
It's not like that, that's out of proportion I feel like. It's like you get to use a new phone for a week that makes your life much easier, and maybe has features you need. Then, it suddenly costs a little bit more than you can afford. That's the issue
viraptor · 10 months ago
With this feature they're competing with the features Cursor had for quite a while now, so I would expect a price competition there. That means close to $20 /mth. (windsurf without that feature is $15)
matt-p · 10 months ago
I would probably pay 100 quite happily for cursor, don't tell them .
underdeserver · 10 months ago
Eh, I find that to be a stubborn attitude for no benefit. It doesn't really cost you anything to try, and if it's too expensive, how are you worse off?
mihaaly · 10 months ago
The sensitive readers please be advised, quite a bit of a rant and angry reactions coming in an overreacting style, please stop here if you are of the sensitive type. The comments are unrelated to this particular product but aimed at the universal approach of the broad topic nowadays. Zero intent of offending anyone specific person is attempted.

I am fed up with all these predicting what I want to do. Badly!! Don't guess! Wait, and I will do what I want to do. I do not appreciate it from my wife trying to figure out what I want to say in the middle of my senntence and interrupts before I finish what I am saying, imagine how much I tolerate it from a f computer! I know what I am going to do, you do not! Let me do that already! This level of predicting our asses off everywhere grown to be a f nuisance by now, I cannot simply do and focus on what I want to do because of the many distractions and suggestions and guesses and prediction of me and my actions all the f time are in the way' Wait, and see! At this overly eager level and pushing into everything is a nuisance now! Too many times the acceptance of the - wrong - 'helping suggestion' is in the way too, hijacking that usable elsewhere particular keyboard action, breaking my flow, dragging in the unwanted stupid guess! Recovery of my way of working from incoming and pushy "feature" hiding/colliding my usual actions, forced on me in a "security update" or other bullshit, turning off and recover the working practice already been in place and worked is an unwelcom being in the way too, ruined, now colliding with "smart prediction", not helping. In long term, it is not a definitive help but an around zero sum game. Locally, in specific sittuations, too many times it is a strong negative by the wrong done! Too much problems here and there, accuracy and implementation wise. Forced everywhere. Don't be a smartass, you are just an algorithm not a mind reader! Lay back and listen.

If prediction is that smart - being with us since the turn of the millania here and there - then should do my job perfectly and I can go walk outside and collect the money! Until, f off!

lionkor · 10 months ago
I find that AI autocomplete, even autocompleting full functions, is capable enough to use. I need to review all my code in detail before pushing, and I need to write unit tests, and I need to "run it once" test it also.

It gets it mostly right most of the time, and often times it quite literally suggests what I was about to type.

This is mostly in Rust and C#, maybe other languages have more of a hurdle for AI.

powerhugs · 10 months ago
So it can rust now? That's impressive!

Last time I tried it had no way of valid rust code beyond hello-world level, constantly producing code that failed the borrow checker.

linsomniac · 10 months ago
The wife finishing your sentences is an interesting analogy... My wife and I are usually on the same page about things, so for many topics we can use short-hand or otherwise cut discussions short. It's like in the movie _Hackers_: "It's in the place I put that thing that time." We can say just enough between us that we verify we have a shared state, and if we aren't sure we can verify and adjust.

With an LLM, if what I'm starting to say gives it a direction on where I'm going, I'd like to see what it thinks, so if it's largely or entirely right I can just continue on.

For example, I just asked ChatGPT o3-mini to complete the code "def download_uri_to_file(", and it came up with the entire function including type annotations, a very reasonable docstring, error handling, and streaming download. In fact, reviewing the code I'm sure it's better than I would have written the first pass through (I probably wouldn't have done the error handling or the streaming (unless I knew up front that I was going to be downloading huge files).

aidenn0 · 10 months ago
> The wife finishing your sentences is an interesting analogy... My wife and I are usually on the same page about things, so for many topics we can use short-hand or otherwise cut discussions short.

My wife and I are just too different for this to happen. For the first 10 years or so we had the opposite happen a lot (multiple times a day for the first few years), where we thought we were on the same page, but had actually under-communicated. It still happens occasionally, but now we mostly overcommunicate about anything of any importance.

Our kids learned pretty quickly that if one parent was helping them with their homework, but had to leave to do something else, that asking the other parent for help was going to confuse them more, since we come at any given problem from a completely different direction.

tomw1808 · 10 months ago
Same here, I basically turned off all the auto-complete things everywhere in all the tools I am using, can't stand it. And just before reading your comment, I had a google doc I edited in the other tab and thought, how annoying are these auto suggestions actually. Not helping at all, instead a distraction (to me).

For AI coding I'm using Aider as a docker container in the terminal in the IDE and I love it. I can write what I want how I feel the prompt to be necessary and then (and only then) it makes the changes or runs whatever I requested. The IDE runs uninterrupted and without any "smart suggestions". A tool for every job. Sometimes I do a lot in aider, sometimes I don't open it at all, but its all separated where what happens when.

But yeah, anyways, while not as strongly feeling as you (probably) towards auto suggesting mid way through my sentence, I at least feel they are more distraction than help to me.

beefnugs · 10 months ago
No one has even tried to do it properly: It would have to be constant, highly parallel (locally running:non pay-per-use) simulations going on the background, with feedback from new constantly changing user input and some kind of new reward detection about it converging on something worth suggesting.

These loops and simulations have to be happening at multiple levels of abstraction all at the same time, not even sure how that would work or coordinate properly, and thus: never gonna happen

deagle50 · 10 months ago
Same. I also configured my editor not to show LSP diag unless I save. Something you can't do in Zed.
Falimonda · 10 months ago
Go hug your wife
mihaaly · 10 months ago
You found the core of the topic, locked on the main meaning instantly and with no error, congratulations for this increadibly sharp insight! :/
dmix · 10 months ago
Cursor's predictions work for me the vast majority of the time (far more so than Copilot+VSCode). Might be a language/framework dependent though.
gkbrk · 10 months ago
Is someone forcing you at gunpoint to use AI autocomplete while you code? If you think it's not good, just don't use it.
heeton · 10 months ago
Right? If you don't like the tool, turn it off.

I find autocomplete _exceptionally_ useful. It's right in most of the simple tasks I'm trying to do and speeds me up a lot.

botanical76 · 10 months ago
Well, I notice there is a lot of pressure in organizations for individual developers to start making use of these tools. I was already using AI extensively before my company picked up on it, so it doesn't really affect me negatively, but I notice some of my coworkers starting to ask questions like "Do I have to use it?". The status quo seems to imply that you {refuse to accept change,aren't willing to grow,aren't interested in increasing efficiency in workflow} if you don't use AI tools / autocomplete.

So while it is unlikely anyone is _forcing_ you to use AI-enabled efficiency boosters, there may be a strong managerial pressure felt to do so, and it may even be offered as an action item in yearly reviews, and therefore strongly linked to compensation / incentives.

That is all to say, I understand if people in this group are frustrated with the AI hype train at the moment, even if they can appreciate that these tools do indeed improve efficiency in some places and in some people.

Dead Comment

Deleted Comment

qaq · 10 months ago
Yep it should be configurable let me type at the very least the function name before you start predicting
oneeyedpigeon · 10 months ago
I think there may be a good point here, but it's buried in a wall of poorly-written text and inappropriate references to your relationship problems.
capital_guy · 10 months ago
Finding a way to complain about your wife in a comment about an IDE is peak hacker news.

Deleted Comment

tolerance · 10 months ago
I see that the truth may be that there are too many men on earth who are deprived of cognitive fortitude, starved to think and willing to off-load thought to another...

...Wife...Machine...or what have you.

Deleted Comment

gizmo · 10 months ago
If you fight the system you're not going to have a good time. For incremental improvements (faster grep, mixed-language syntax highlighting) you get the benefits for free. You don't have to change anything about the way you work. Revolutionary/disruptive technologies are not like that. They demand that the world adapts to them. They demand you change.

Almost anywhere you can go by foot you can get faster with a horse. By contrast, a car only drives on flat roads. Cars are inflexible, fragile, unwieldy. A car demands that the world adapts to it. And adapt we did. We paved the world and are better for it.

AI tools are amazing. You just have to approach them with a beginner's mindset.

wruza · 10 months ago
Revolutionary/disruptive technologies are not like that. They demand that the world adapts to them. They demand you change.

That’s just coping for “my revolutionary technology is a pile of crap around the main feature that barely works”, imo.

AI tools are amazing. You just have to approach them with a beginner's mindset.

Makes no sense when they still fail at the job. Mindset doesn’t change reality, only your relation to it. You’re suggesting to like bullshit cause you learned to like it. AI tools are at best mediocre, just like a huge part of people who benefit from these, and their creations.

mihaaly · 10 months ago
I am not having a good time, that's true. This is with systems you do not need and not working for you. You can lay down to it, but could also fight it, go around it, not just give up and do what a random self promoted something tries to dictate. True, it is not good now or just yet, and about the amazingness, well, I believe the jury is still out on that.... let's say there are moments when it is.

Disruption can f off! I am not a slave to lay down to self serving ideas forced. If ideas not serving humanity and demand change for the sake of it, those are bad ideas then! Down with technological authoritarianism! I am for liberal things mainly anyway.

About cars: don't use it inside hight rise buildings if you live in one, or dense cute cities because you will have more problem than help. One can walk, cycle or mass transit, occasional renting, in a big part of life. Cars have their places, not something to wrap humanity around. Thos are just box like objects with four wheels for f's sake! For humans, and not the other way around.

All depends on circumstances in the end, naturally.

brabel · 10 months ago
> And adapt we did. We paved the world and are better for it.

I don't know, it must've been awesome going everywhere mounted on a powerful live animal, not being limited to roads, feeling the fresh air, not destroying the planet.

barrell · 10 months ago
I had GitHub copilot for nearly two years. I built the entire first version of an application for almost a year in a language I didn’t know (Python) using LLMs and prompting.

Over the last year I’ve had to rewrite every single part of the application. My amount of checked in code from an LLM has reduced to literally 0. I occasionally ask ChatGPT a question on my phone.

I turned off copilot a few months ago and honestly it feels more like turning off push notifications, not like giving up a car.

And even if it were comparable to an automobile, as an American who moved to Amsterdam, I can attest that the bike life is still much more enjoyable than the car life :)

portaouflop · 10 months ago
We paved the world and now it’s fucked — progress is not always a good thing, in this case it was a mistake that we and our descendants will continue to pay the price for.
nprateem · 10 months ago
Constant interruptions aren't free though. They break your train of thought knocking you out of flow.
taurknaut · 10 months ago
To be disruptive you need layoffs. Where is all this labor that can be replaced with chatbots?

I, personally, strongly hate cars and think they're moronic. Sometimes revolutions aren't a good thing.

franktankbank · 10 months ago
> We paved the world and are better for it.

Questionable.

computerthings · 10 months ago
Colonizers demand you change. Things make life better for people need to just exist. You just need to see your neighbor enjoying it to want yourself some of that. If you need to make changes for that, you'll ask what changes those are, and make them, if the trade-offs are worth it.

If you need to scold people for being backwards for not accepting your great gift, it's not a great gift.

> AI tools are amazing. You just have to approach them with a beginner's mindset.

IMO they're not even tools. A screwdriver is a tool; the phone number of a place that sends people that loosen or fasten screws isn't. A switch on the steering column is a tool, while a button on a touch screen is a middleman that at best works like the switch, at worst just does whatever. A keyboard is a tool, you can learn it well enough to know what keys you pressed without needing a screen. Predictive typing is not a tool.

yellow_lead · 10 months ago
Seems like you can't run it locally. I don't like my code being sent to a third party, especially when my employer may not agree with it.

I also edit secret/env files in my IDE, so for instance, a private key or API key could get sent, right?

I hope there will be a local option later.

_flux · 10 months ago
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.

levzzz · 10 months ago
yeah, i'd like to be able to run it locally. it should fit well onto my 12gb gpu
mikaylamaki · 10 months ago
> a private key or API key could get sent, right?

You can disable this feature on a per-file basis, here’s the relevant setting: https://github.com/zed-industries/zed/blob/39c9b1f170cd640cd...

yencabulator · 10 months ago
Sending files to a remote server is never something that should need to be disabled, this must be an opt-in or it's time for a fork.
thomascountz · 10 months ago
If you were looking for the configuration like I was[1][2]:

  {
    "show_edit_predictions": <true|false>,
    "edit_predictions": {
      "disabled_globs": [<globs>],
      "mode": <"eager_preview"|"auto">
    },
    "features": {
      "edit_prediction_provider": <"copilot"|"supermaven"|"zed"|"none">
    }
  }

[1]: https://zed.dev/docs/completions

[2]: https://zed.dev/docs/configuring-zed#edit-predictions

tripplyons · 10 months ago
Thanks for sharing, it would have taken me some time to find this. It should really be included in the article.
mikebelanger · 10 months ago
I've been using Zed for a few months now. One thing I really like about Zed is its relatively discrete advertising of new features, like this edit prediction one. Its just a banner shown in the upper-left, and it doesn't block me from doing other stuff, or force me to click "Got it" before using the application more.

This definitely counters the trend of putting speech balloons/modals/other nonsense that force a user to confirm a new feature. Good job, Zed team!

barrell · 10 months ago
I read this wrong initially — I thought you said one thing you __dislike__ about Zed.

I read the whole thing thinking, __oh my god they do exist__

boxed · 10 months ago
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.

ljm · 10 months ago
I actually wish more editors had emacs style indenting where hitting tab anywhere on the line would re-indent it or otherwise cycle through indent levels if it was unclear, especially because you’re unlikely to get copilot suggestions in the middle of a word. Plus, it doesn’t break if there’s a syntax error elsewhere in the file.
fhd2 · 10 months ago
It's one of those weird Emacs things that you get _so_ used to that everything else seems to waste your time.

Using code formatters and formatting on save or with a shortcut is OK, but not really the same to me.

That's probably why I'm stuck with Emacs:

1. No need to use the mouse.

2. Extremely efficient keyboard usage (maybe not the most efficient, but compared with common IDEs, certainly).

Makes it feel like I'm actually using a brain computer interface. The somewhat regular yak shaving is a bit of a bummer though. I like that I can modify everything to be exactly how I like it, but I wouldn't mind sensible defaults. Haven't found a distribution yet that works well without tinkering.

boxed · 10 months ago
Oh, didn't know about that. That makes a lot of sense. Reminds me of how hitting cmd+c on a line in PyCharm copies the entire line if there is no selection. Because what else would make sense?
yencabulator · 10 months ago
I thought that was a great feature. Now I'm writing mostly languages with well-defined formatting rules and simply never need tab. This is even better.
as-cii · 10 months ago
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 completion.

Curious to hear what you think!

danielsamuels · 10 months ago
For reasons that should be obvious, that's not going to work on Windows.
awfulneutral · 10 months ago
Ohhh, is that why I keep pressing tab and it doesn't accept the prediction lately? I thought it was a bug. It feels weird for tab to double-indent when it could be accepting a prediction - I wonder if alt-tab to do a manual indent rather than accept the current prediction might be preferable?

Edit - On the other hand, a related issue is that if the prediction itself starts with whitespace, in that case it would be good if tab just indents like normal; otherwise you can't indent without accepting the prediction.

VWWHFSfQ · 10 months ago
Is there way to change this key binding (tab for accept) right now? Because otherwise I have to stop using this program. It is absolutely obnoxious.
maxloh · 10 months ago
Hi. Could you explain how you plan to make money with the model while open-sourcing it?

It seems contradicting to me.

janaagaard · 10 months ago
After using Prettier to format my code and turning on format-on-save, I pretty much don’t use the tab key anymore. This doesn’t invalidate your point, - I am merely guessing as to why the tab key seemingly has been reassigned.
daliusd · 10 months ago
Yes, copilot's tab in vim is that made me think that AI is useless. However next iteration of AI coding tools made me rethink this (I am using https://github.com/olimorris/codecompanion.nvim with nvim now).
windward · 10 months ago
AI coding tool implementers seem to be fans of novel editor fonts.
madmulita · 10 months ago
Don't give them ideas! I can already see the useless AI key next to Fn in my next keyboard.
card_zero · 10 months ago
That already happened, just over a year ago, we have Copilot keys now.

I guess it invokes the AI rather than controling it, maybe there'll be another key soon.

MaikuMori · 10 months ago
Doesn't exactly fix the issue, bout you can cancel the suggestion with ESC and then press Tab.

Changing the shortcut should be possible, but I haven't tried.

boxed · 10 months ago
It's a timing issue too. Your hand can be travelling to the keyboard and between that and registering in the OS the AI suggestion inserted itself inbetween.
marcosdumay · 10 months ago
It's way better than the other Microsoft favorites of space and enter...

It's as if people developing autocomplete doesn't really code.

moritzruth · 10 months ago
Ctrl+Return works quite well for me in IntelliJ.
fstephany · 10 months ago
You are not alone!
relistan · 10 months ago
Yeah, IMO tab makes no sense for this as the default.

Since I code in Go and use tabs regularly, I remapped my auto-complete AI key for Supermaven in Neovim to ctrl-L which I have no other occasion to use regularly. Now tab works properly and I can get auto-complete.

Mashimo · 10 months ago
> to indent some code.

Why are you manually indenting code?

I don't remember ever doing that in IDEA or VS Code for ~~python,~~ java or ts.

Edit: I borked about python, my bad.

rfoo · 10 months ago
For example, you have

    if check_something():
        wall_of_text = textwrap.dedent("""
    this
    is
    a
    multiline
    string
    """.strip("\n"))
I hope you agree it's ugly. And you want to make it

    if check_something():
        wall_of_text = textwrap.dedent("""\
            this
            is
            a
            multiline
            string
        """.strip("\n"))
But I don't know any formatter which does this automatically. Because the change here not only changes the looking, it changes semantic. The formatter has to understand that after `textwrap.dedent(_.strip("\n"))` the result does not change and that's hard. So formatter just leave it alone. But it's extremely obvious to a human. Or maybe extremely obvious to a LLM too.

fragmede · 10 months ago
How does the IDEA/VSCode know when you're done with the if?

    if foo:
        bar # Obviously this is indented
        but_is_this() # supposed to be under the if?
        how.about(this) #?
    how.do_you(de) # indent in Python, if not manually?

oneeyedpigeon · 10 months ago
Isn't indentation 'non deterministic' in Python? E.g. if I have the following:

    if (foo):
        bar()
    hum()
how can anything other than a human decide if that 3rd line should be indented as it is or by one more level?

dgacmu · 10 months ago
As a slight tangent, this prompted me to wonder about one of the things I _haven't_ enjoyed in my last two weeks of experimenting with zed: It tries to autocomplete comments for me. Hands off - that's where I think!

Fortunately, zed somewhat recently added options to disable these:

   "edit_predictions_disabled_in": ["comment"],
   "inline_completions_disabled_in": ["comment"]
My life with zed just got a little better. If I switch back to vscode I'll have to figure out the same setting there. :-)

fredoliveira · 10 months ago
FYI, it looks like inline_completions_disabled_in is no longer a thing :-)
dgacmu · 10 months ago
Ahh, I see - it looks like in the newer version it is being replaced by just edit_predictions_disabled_in.

Thanks!

dakiol · 10 months ago
Am I the only one who prefers stability instead of a constant rush of features in their text editors/IDEs? If it’s AI related I like them even less. I know I can stick forever with Vim, but damn, I tried Zed and it felt good.
Arch485 · 10 months ago
Zed is amazing, and I definitely recommend it. That said, I will not be using their AI features, and if the editor turns into a slow, bloated monster because of them (like Visual Studio and anything made by JetBrains) I will have to ditch it.
awfulneutral · 10 months ago
This just seems to be the way for code editors. We just have to switch every few years to the next one.
jswny · 10 months ago
I agree. I actually use the AI features in Zed a lot, but there are things I really wish they would prioritize.

For example this issue that’s been open for about a year: https://github.com/zed-industries/zed/issues/10122

Editing large files is an incredibly common use case for an editor

anon7000 · 10 months ago
The problem is that practically every company which can spend money is asking developers to explore AI development tools. It’s becoming a bare-minimum feature for many, which is why Cursor has exploded in popularity.

The other stuff is awesome and important (debugger when!?), but AI is becoming table stakes for even participating in the current tech economy. It’s all execs are talking about. So it’s not surprising they’ve prioritized this work