Ghostboard pixel

AI-Powered Edit Predictions Have Shown Up On Zed

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

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.
About the author
Sourav Rudra

Sourav Rudra

More of my work here: https://news.itsfoss.com/author/sourav/

Great! You’ve successfully signed up.

Welcome back! You've successfully signed in.

You've successfully subscribed to It's FOSS.

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

Success! Your billing info has been updated.

Your billing was not updated.