Skip to content

mrzzmrzz/ty-zed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ty-zed: astral-sh/ty for Zed

This extension provides ty, an extremely fast Python type checker and language server, for Zed editor.

Note

This extension has been officially merged and maintained by the Zed team.

Please visit the new repository for the latest usage instructions and support.

Installation

  1. Open Zed’s Extensions panel.
  2. Search for ty and install it.

Enabling the Extension

Enable ty extension for Python in your Zed settings:

{
  "languages": {
    "Python": {
      "language_servers": ["ty"]
    }
  }
}

Configuration

You must specify the binary path for ty under the lsp.ty.settings section.

Example Setup

  1. Install ty (using uv here as an example):
uv tool install ty
  1. Locate the binary:
which ty
  1. Configure Zed with the path and server arguments:
{
  "lsp": {
    "ty": {
      "binary": {
        "path": "/Users/yourname/.local/bin/ty",
        "arguments": ["server"]
      }
    }
  }
}

If ty is installed via another tool (e.g., pipx, system package manager), adjust the binary path accordingly.

About

`astral-sh/ty` for zed editor

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages