python: Uplift basedpyright support into core (#35250)

This PR adds a built-in adapter for the basedpyright language server.

For now, it's behind the `basedpyright` feature flag, and needs to be
requested explicitly like this for staff:

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

(After uninstalling the basedpyright extension.)

Release Notes:

- N/A
This commit is contained in:
Cole Miller 2025-07-28 23:19:31 -04:00 committed by GitHub
parent e5269212ad
commit cfd5b8ff10
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 362 additions and 1 deletions

1
Cargo.lock generated
View file

@ -9226,6 +9226,7 @@ dependencies = [
"chrono",
"collections",
"dap",
"feature_flags",
"futures 0.3.31",
"gpui",
"http_client",