-
Notifications
You must be signed in to change notification settings - Fork 149
Support basedpyright #1088
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
fyi basedpyright now supports jupyter notebooks using the new notebook functionality introduced in LSP 3.17 so i think #1013 will address this |
Thanks for chiming in! This extension works without the notebook format from LSP 3.17, and since pyright just works so should basedpyright :) This issue is more to track adding a "spec" this is detecting if
and: jupyterlab-lsp/python_packages/jupyter_lsp/jupyter_lsp/specs/config/pyright.schema.json Lines 1 to 16 in 4628ce6
|
Thanks for the replying on Discord and here @DetachHead! Regarding adding the spec to this extension with the current mechanism then, the command for talking to the language server seems to be |
Oh right, I forgot about it. So it would resemble more: jupyterlab-lsp/python_packages/jupyter_lsp/jupyter_lsp/specs/python_lsp_server.py Lines 5 to 18 in 4628ce6
unless we should search for both types of installations? Documentation recommends the pypi installation route, but I presume using an already installed node is also supported? |
Not sure if searching for both types is worth the complication, even if it's possible. I would think that most people will install via |
basedpyright
looks promising as an LSP server for Python https://github.com/DetachHead/basedpyrightThe text was updated successfully, but these errors were encountered: