LSP-pyright
LSP-pyright copied to clipboard
Python support for Sublime's LSP plugin provided through microsoft/pyright.
How to add the current project path to "python.analysis.extraPaths", currently using version 1.3.1
before the version 1.3.1,it's auto include it
Hi. I have the error after start LSP. ``` LSP-pyright: INFO: poetry.lock detected. Run subprocess command: poetry env info -p Unable to start subprocess for LSP-pyright Traceback (most recent call...
Hello, I am using SublimeText 4, installed on windows, to open a WSL2 project. All my venvs are in the proj root dir, in the folder `.venv` (this means that...
Installed LSP-pyright, cloned this repo, opened directory in Sublime Text, saved project, edited project, set `"pyright.dev_environment": "sublime_text"`, opened file `LSP-pyright/plugin.py`. LSP can't find imports from ST packages like `from LSP.plugin...
It would be nice to be able to use environment variables in extra paths, instead of full resolved paths.
In the server log panel I see this message: ``` LSP-pyright: Exception received when installing file system watcher: TypeError [ERR_FEATURE_UNAVAILABLE_ON_PLATFORM]: The feature watch recursively is unavailable on the current platform,...
I would like to be able to run "LSP-pyright: Organize Imports" from the command palette.

Repository: https://github.com/microsoft/python-environment-tools They introduced this in VSCode v1.91.0. That basically has the same purpose with https://github.com/sublimelsp/LSP-pyright/blob/master/plugin/venv_finder.py It doesn't have `Releases` on Github but there are artifacts in the CI. E.g.,...
My django project structure is something like that: ``` django-project/ .venv/ manage.py project/ settings.py bar/ __init__.py models/ __init__.py company.py api/ __init__.py companies/ views.py serializers.py ``` In `models/__init__.py` there are imports:...