Ghostboard pixel

AI-Powered Edit Predictions Have Shown Up On Zed

Zed's Edit Prediction anticipates your next move, making coding sessions more spontaneous.

a screenshot of zed editor is in the highlight of this image with the zed logo to the left

Zed is a modern Rust-based code editor that has seen adoption by many in the Linux community. While I don’t code much, I have Zed installed on my daily driver Linux setup for when I need to check out some code.

As a code editor with plenty of AI-powered features, you'd expect the developers to focus on refining what’s already there. But with a recent announcement, they've introduced a brand-new one.

Edit Prediction: What to Expect?

zed edit prediction feature opt in dialog with a lot of text related to agreeing terms of service and contributing to the open dataset

Called Edit Prediction, this feature learns from a Zed user's coding habits and predicts what their next action might be before they even type. It is powered by an in-house open source, open dataset model called Zeta, which is a derivative of Qwen2.5-Coder-7B.

The initial data used to train it was fine-tuned by using ~50 synthetic examples generated using Claude, with an early build of Zeta being tested by developers of Zed during daily usage for further improving it.

As for its capabilities, Edit Prediction can help with multi-line predictions where it can anticipate and insert entire blocks of code, learn from the user's editing patterns, provide context-aware suggestions, and more.

0:00
/0:12

Source: Zed

Other than that, you should know that this implementation is not local and is hosted on Baseten's cloud infrastructure, with servers being made available in North America and Europe. Requests from users of other locations will be handled via Cloudflare Workers.

Moreover, if you check the screenshot above, you'll notice an opt-in telemetry option that helps improve Zeta’s open dataset. However, it only works with edits made in open source repositories.

The announcement blog is a must-read for learning more about how the Zed team was able to achieve this.

📥 Get Zed

Installing Zed is a simple command execution away. Just run the following in your terminal:

curl -f https://zed.dev/install.sh | sh

You can alternatively get it from Flathub, with the official website featuring additional packages for many popular Linux distributions and macOS.

Suggested Read 📖

Flexpilot is an Open Source IDE for AI-Assisted Coding Experience 🚀
Flexpilot is almost like VS Code, only a bit better with built-in AI features. Learn why I created it and how you can use it.

It's FOSS turns 13! 13 years of helping people use Linux ❤️

And we need your help to go on for 13 more years. Support us with a Plus membership and enjoy an ad-free reading experience and get a Linux eBook for free.

To celebrate 13 years of It's FOSS, we have a lifetime membership option with reduced pricing of just $76. This is valid until 25th June only.

If you ever wanted to appreciate our work with Plus membership but didn't like the recurring subscription, this is your chance 😃

Get Lifetime Membership of It's FOSS

Great! You’ve successfully signed up.

Welcome back! You've successfully signed in.

You've successfully subscribed to It's FOSS News.

Success! Check your email for magic link to sign-in.

Success! Your billing info has been updated.

Your billing was not updated.