Live data from Hacker News

Zed: High-performance AI Code Editor

zed.dev

431–440 of 447 posts

Re: Zed: High-performance AI Code Editor

#431

Here’s what I want, a keyboard only code editor, (ideally with all the vim keybindings and features) that also has in built lsp for popular languages like C, C++, Go and just works out of the box (even better if it has good code completion with copilot or something similar). I can’t seem to get this anywhere. I’m still sticking with neovim for now but it’s code complete doesn’t work well that I’ve turned it off and I…

My experience is that C and C++ can't be done well, unless you have the world's most trivial code base.

There are dozens of possible build tools for C and C++, all with complex syntax and most with mandatory user provided input to configure the build. For anything beyond simple syntax highlighting, you need to be able to context parse all the multi-file cross references and inputs that can only come from building the entire project with preprocessing and then parsing the LLM (the intermediate syntax, not the AI thing). For most projects that are nontrivial, a compilation cycle can be 10 minutes to 4+ hours, and requires the specific settings you want to build with. Breaking them down to per-file also doesn't work because you'd have to do a complete dry run execution of the build system just to get the specific toolchain build settings for each file. And remember there are dozens of possible build tools that your tool has to emulate a dry run of now.

Most tools I've seen can only make a half attempt at C/C++ as a result, and usually the solutions scale incredibly poorly. The basic CTags for example, that just indexes symbols in your project source code, easily generates a >4 GB database file on something like a Yocto build. Which is why they invented Exuberant CTags that uses a binary database to try and speed it up. But even still, you're getting almost no useful context from results, and it has a very long lag in response when you do ask something.

The AI LLM support for C and C++ seems able to make guesses with the partial info that's available to them, whether its only the one file of context or the whole project (very uncommon), but it has the lowest successful output rate of any context helper I've ever used.

Re: Zed: High-performance AI Code Editor

#432

Earlier quoted context omitted.

Not to worry! When VS Code launched, it had a tiny ecosystem compared to Atom. When Atom launched, it had a tiny ecosystem compared to Sublime Text. Starting out with a much smaller ecosystem than already-popular alternatives is a totally normal part of the road to success. :)

Yes and no. An ecosystem can grow, even grow exponentially. But it is sensitive to competitive pressures. VSCode today is so much more widely adopted than anything before it. More than emacs, vim, anything really. So Zed has a good chance because it's simply excellent and many people (myself included) will be motivated to make it happen. But it's not determined that it will succeed in growing a comparable ecosystem.…

Zed's only real differentiator I can see right now is that they're not VSCode, and not run by Microsoft. Their AI isn't really any better than major competitors', and AI integration is table stakes for most new IDEs now anyway. They're missing a LOT of basic features still, their extension system is very lacking, and the extension library us still small.

If the community goodwill can be maintained, and they can expand their extension system capabilities, the community will probably catch them up to the effective VSCode extension library size pretty quickly (at least for a 95% of user's needs cases). But I'm seeing a lot of indications they're headed toward enshitification before they even get fully off the ground. I'm just hoping they avoid the obvious pitfalls of prioritizing only profitable new features and flavors of the month when their only real path to success relies so much on tons of unpaid open source community contributions.

Re: Zed: High-performance AI Code Editor

#433

I tried Zed out and successfully got Claude chat working with my API key. But I'm not sure how to get predictions working. When the predictions on-ramp window popped up asking if I wanted to enable it, I clicked yes and then it prompted me to sign in to Github. Upon approving the request on Github, an error popover over the prediction menubar item at the bottom said "entity not found" or something. Not sure if that's…

The AI integration with their "Zeta AI" (a Zed product), is incredibly half-baked, and it screwed up/with their existing third-party AI integration.

You have to command-pallet to "assistant: show configuration" to setup almost any API or integration except the Zed "Zeta AI", and that configuration directly conflicts with the authentication needed for the Zed login. So you currently can't use a third-party authenticated AI engine and the Zed Collaboration features at the same time.

Once you've setup the third party AI configuration, you then have to open the settings.json and copy the "features" section from the default settings into it manually. Ignore the blog posts and docs from Zed, they're all wrong now that they've completely changed/broken everything with the "Zeta AI" release. In the copied "features" section of your settings.json, you have to set the value for the predictions to the name of your third party AI engine. Good luck guessing what the right string value is, the values for each engine aren't documented anywhere I can find.

Re: Zed: High-performance AI Code Editor

#434

Earlier quoted context omitted.

Sorry if this is obvious, but have you tried signing in?

Not OP, but the Sign In button is for GitHub on Zed. Which conflicts with GitHub sign in for any of the other AI agents, so you have to pick only one (the others will time out and do nothing after the first). On work machines I use the corporate Copilot login, so I just have a permanent Sign In button in the upper right that doesn't function and can't be hidden. Also I don't want to pay with my private data from some…

I had a reply typed out to the parent but decided I didn't want to take the bait, so thank you for putting my concern (your second point) into words.

Re: Zed: High-performance AI Code Editor

#435
post #132

I'm using it without any AI stuff, just turned everything off. I like it. But in day-to-day usage I don't really see any difference with VSCode. And I'm using it out of pure curiosity and interest to try something new.

Simply escaping the evil clutches of microsoft is worth suffering a merely "neutral" experience.

Honestly, that's why I've been using it too.

But it's painful some of the basic features that are missing. Like manually switching indentation settings on a file. Not supported by Zed at all, you have to write an entire editorconfig file for your project instead, or change your global settings.

I do really love how simple some of the GUI config options are though. Just a single value to hide the useless Collaboration panel and button. And having a default settings and default keymap file you can open to look at and copy from when modifying your own is so helpful, and makes it much easier to customize a key binding here or there from the defaults instead of the GUI-fied VSCode mess that you can't eve see what's been manually modified easily.

Re: Zed: High-performance AI Code Editor

#436

I've been recently using Zed, and I'm in love. It's the best editor experience I've ever had. Everything's snappy like notepad.exe, but it's also quite featureful, and quickly becoming even better.

lol. Hopefully the devs changes the Zed webpage header to "Zed - Everything's snappy like notepad.exe"

Re: Zed: High-performance AI Code Editor

#439
post #372

Earlier quoted context omitted.

what is "think"?

It is based off https://www.anthropic.com/engineering/claude-think-tool .

ah interesting! Is it something that openAI also is thinking about? Or is it something that reasoning model are already doing anyway?

Re: Zed: High-performance AI Code Editor

#440

Earlier quoted context omitted.

Not OP, but the Sign In button is for GitHub on Zed. Which conflicts with GitHub sign in for any of the other AI agents, so you have to pick only one (the others will time out and do nothing after the first). On work machines I use the corporate Copilot login, so I just have a permanent Sign In button in the upper right that doesn't function and can't be hidden. Also I don't want to pay with my private data from some…

I had a reply typed out to the parent but decided I didn't want to take the bait, so thank you for putting my concern (your second point) into words.

Everyone knows that when a company pinky promises they won't collect your data and they'll keep things private, it means absolutely nothing. Unless it's impossible for them to collect your data even if they wanted to, all promises, especially from start ups, are worth less than the non-existent paper they're printed on.
Post reply on HN