---
title: "Making Python in Zed Fun"
description: "Zed reworked its Python support around a generic per-language toolchain selector backed by Microsoft's python-environment-tools, the same library Visual Studio Code uses for venv detection."
url: "https://swe.quest/articles/making-python-in-zed-fun-1887e7de7b4c59d3"
canonical: "https://zed.dev/blog/making-python-in-zed-fun"
source: "Zed"
published: "2025-10-02"
difficulty: "easy"
kind: "Announcement"
reading_minutes: 5
tags: ["python","developer-tools"]
---

# Making Python in Zed Fun

A post on [Zed](https://swe.quest/sources/zed.md), published 2025-10-02, 5 min read, Announcement. Original: [https://zed.dev/blog/making-python-in-zed-fun](https://zed.dev/blog/making-python-in-zed-fun)

## Summary

Zed reworked its Python support around a generic per-language toolchain selector backed by Microsoft's python-environment-tools, the same library Visual Studio Code uses for venv detection. A manifest tree tracks the nearest pyproject.toml so each monorepo sub-project gets its own toolchain. Zed also runs a separate language server per toolchain rather than making servers juggle multiple environments. Basedpyright is now the default LSP, ty and Ruff work out of the box, Pyrefly is available via an extension, and the team plans to move Astral's ty into core and add notebooks in 2026.

Written by swe.quest, not by the author.

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

## Topics

- [Python](https://swe.quest/tags/python.md) (Languages)
- [Developer tools](https://swe.quest/tags/developer-tools.md) (Engineering practices)

## Prerequisites

- Python virtual environments ([easy posts on Python](https://swe.quest/tags/python.md?difficulty=easy))
- Language Server Protocol

## Keywords

Zed, Language Server Protocol, basedpyright, ty, Ruff, Pyrefly, python-environment-tools, pyproject.toml

## Related posts

- [Zed Weekly: #26](https://swe.quest/articles/zed-weekly-26-03163e8327774f9f.md): Zed · 2023-11-10 · Medium · 9 min read · Rust, Developer tools, Frontend
  Zed's team reports progress porting the editor to GPUI 2, including a new action- and key-context-based keyboard handling API shown with a Rust menu example.
- [Zed Weekly: #28](https://swe.quest/articles/zed-weekly-28-c8ae91adc8298b18.md): Zed · 2023-12-04 · Medium · 5 min read · Developer tools, Rust, Design systems
  Zed is rewriting its editor as Zed2 in three phases (runnable core editing, productivity features like collaboration, terminal and Vim mode, then flagship features like Assistant, Copilot and Chat), aiming for a preview by end of 2023 and open-sourcing shortly after Zed2 supersedes Zed1.
- [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.
- [The Debugger is Here](https://swe.quest/articles/the-debugger-is-here-13c8e56684fd9503.md): Zed · 2025-06-18 · Medium · 7 min read · Developer tools, Debugging, Rust
  Zed now ships a native debugger built on the Debug Adapter Protocol, with out-of-the-box support for Rust, C/C++, JavaScript, Go and Python.
- [Python Environments Extension for VS Code- April Update](https://swe.quest/articles/python-environments-extension-for-vs-code-april-update-3ef548ca6ec03e42.md): Microsoft for Python Developers · 2026-04-27 · Medium · 2 min read · Python, Developer tools, Performance engineering
  The April 2026 Python Environments extension update speeds up VS Code startup by discovering Pipenv, pyenv and poetry environments lazily and by narrowing the default venv search from \`./\*\*/.venv\` to \`.venv\` and \`\*/.venv\`.

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)
