Skip to content

Commit

Permalink
Add installation instructions for Zed IDE.
Browse files Browse the repository at this point in the history
  • Loading branch information
JaagupAverin authored and DetachHead committed Nov 24, 2024
1 parent 6d94c2a commit e25e9a8
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions docs/installation/ides.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,3 +133,34 @@ language-servers = [ "basedpyright" ]
```

You can verify the active configuration by running `hx --health python`

## Zed

Install the [BasedPyright extension](https://github.com/m1guer/basedpyright-zed) through Zed's extension manager.

Enable and configure basedpyright under Zed settings:

```json
{
"languages": {
"Python": {
"language_servers": ["basedpyright"]
}
},
"lsp": {
"basedpyright": {
"settings": {
"python": {
"pythonPath": ".venv/bin/python"
},
"basedpyright.analysis": {
"diagnosticMode": "openFilesOnly",
"inlayHints": {
"callArgumentNames": true
}
}
}
}
}
}
```

0 comments on commit e25e9a8

Please sign in to comment.