Skip to content
This repository was archived by the owner on Sep 17, 2025. It is now read-only.
pub-structPublic archive

About

No description, website, or topics provided.

Resources

Stars

48 stars

Watchers

1 watching

Forks

Latest commit

 

History

28 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Basedpyright Extension for Zed

in case that basedpyright are now built-in, i think we all no longer need this version :p

Pre-requisites

  • Python 3.9+
  • basedpyright installed into your python environment

Installation

Search basedpyright in the zed extensions. Click to install.

Enable

Disable pyright and enable basedpyright in your settings.

{
  "languages": {
    "Python": {
      "language_servers": ["basedpyright", "!pyright"]
  },
}

Configure

Configure under lsp.basedpyright.settings as required.

The "binary" setting is optional, if not set, basedpyright will be searched for in your PATH.

{
  "lsp": {
    "basedpyright": {
      "binary": {
        "path": ".venv/bin/basedpyright-langserver",
        "arguments": ["--stdio"]
      },
      "settings": {
        "python": {
          "pythonPath": ".venv/bin/python"
        },
        "basedpyright.analysis": {
          "diagnosticMode": "workspace",
          "inlayHints": {
            "callArgumentNames": false
          }
        }
      }
    }
  }
}

About

No description, website, or topics provided.

Resources

Stars

48 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages