---
title: "Building a Text Editor in the Times of AI"
description: "Zed's co-founders Nathan, Max and Antonio describe how they use AI for programming."
url: "https://swe.quest/articles/building-a-text-editor-in-the-times-of-ai-5830d5c3aedf2a31"
canonical: "https://zed.dev/blog/building-a-text-editor-in-times-of-ai"
source: "Zed"
published: "2024-03-26"
difficulty: "easy"
kind: "Opinion"
reading_minutes: 31
tags: ["ai-coding","developer-tools","llms","algorithms"]
---

# Building a Text Editor in the Times of AI

A post on [Zed](https://swe.quest/sources/zed.md), published 2024-03-26, 31 min read, Opinion. Original: [https://zed.dev/blog/building-a-text-editor-in-times-of-ai](https://zed.dev/blog/building-a-text-editor-in-times-of-ai)

## Summary

Zed's co-founders Nathan, Max and Antonio describe how they use AI for programming. They prefer chat-style assistants with stronger models over Copilot's per-keystroke completions, and say supplying the right context is the main obstacle in a large Rust codebase. Zed's inline assist renders LLM output as live edits using a streaming diff based on a modified Needleman-Wunsch algorithm, with a cost function that favours insertions and deletions and a small lookahead. They adopted this after function-calling approaches failed to produce reliable precise edit locations. The conversation also covers plans for AI features in Zed.

Written by swe.quest, not by the author.

**Difficulty:** Easy: no special background needed; explains what something is and why it matters

## Topics

- [AI for coding](https://swe.quest/tags/ai-coding.md) (AI & ML)
- [Developer tools](https://swe.quest/tags/developer-tools.md) (Engineering practices)
- [LLMs](https://swe.quest/tags/llms.md) (AI & ML)
- [Algorithms](https://swe.quest/tags/algorithms.md) (Architecture & design)

## Keywords

Zed, Copilot, ChatGPT, Needleman-Wunsch, GPUI, Claude

## Related posts

- [Zed Weekly: #17](https://swe.quest/articles/zed-weekly-17-390d0b1828377e87.md): Zed · 2023-08-22 · Easy · 7 min read · Developer tools, LLMs, Rust
  Weekly team update from the Zed editor team covering AI features, channels, language support and UI work.
- [Copilot x Zed](https://swe.quest/articles/copilot-x-zed-48f53be12c312262.md): Zed · 2023-04-20 · Medium · 2 min read · Developer tools, AI for coding
  GitHub Copilot is now available in Zed v0.82, integrated by reusing the undocumented, minified Copilot LSP server shipped in the Neovim plugin, which Zed's built-in LSP support could drive directly.
- [Zed now predicts your next edit with Zeta, our new open model](https://swe.quest/articles/zed-now-predicts-your-next-edit-with-zeta-our-new-open-model-4be13d8bc80576a5.md): Zed · 2025-02-13 · Medium · 8 min read · AI for coding, Model training, Inference & serving, Evaluation, Developer tools
  Zed's new edit prediction feature is powered by Zeta, an open-source model fine-tuned from Qwen2.5-Coder-7B with an open dataset.
- [Building Ghostwriter Chat](https://swe.quest/articles/building-ghostwriter-chat-cdc3d6aa03870bc4.md): Replit · 2023-03-27 · Easy · 5 min read · AI for coding, LLMs, Developer tools
  Ghostwriter Chat embeds an LLM-powered assistant directly in the Replit IDE, using file context, chat history and program output so users never copy-paste into a separate tool.
- [Ghostwriter AI & Complete Code Beta](https://swe.quest/articles/ghostwriter-ai-complete-code-beta-eb4c500f5fc252eb.md): Replit · 2022-09-08 · Medium · 9 min read · AI for coding, Inference & serving, LLMs, Developer tools
  Replit's Ghostwriter adds AI code completion, generation, transformation, explanation and semantic search to its IDE, with Complete Code starting in closed beta.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
