Releases: sublimelsp/LSP-pyright
Releases · sublimelsp/LSP-pyright
1.4.9
- chore: update pyright 1.1.372
1.4.8
1.4.7
- chore: update pyright 1.1.371
1.4.6
- chore: update pyright 1.1.370
- refactor: python executable search order: py -> python3 -> python
1.4.5
- chore: update pyright 1.1.369
1.4.2
-
feat: add docstrings for
typeshed-fallback/stdlib/builtins.pyi
This file is taken from the latest "release" of https://github.com/DetachHead/basedpyright
-
chore: update pyright 1.1.368
1.4.0
New Features
-
Allow users to decide the order of strategies finding venv
Previously, this is hard-coded. Now the user can specify the order of strategies in the settings.
By default, a.venv
orvenv
directory under the workspace project is prioritized.{ "settings": { "venvStrategies": [ "local_dot_venv", "env_var_conda_prefix", "env_var_virtual_env", "rye", "poetry", "pdm", "hatch", "pipenv", "pyenv", "any_subdirectory", ], } }
-
Templated status bar text
If a venv is detected, its information will be shown in that status bar.
The user can customize the status bar text with Jinja2 template grammar.{ "settings": { "statusText": "{% if venv %}venv: {{ venv.venv_prompt }}; py: {{ venv.python_version }}; by: {{ venv.finder_name }}{% endif %}", } }
Minors
- chore: update pyright 1.1.367
- fix:
update_schema.py
doesn't work due to upstream changes - refactor: use
boot.py
andplugin/
structure
1.3.9
- fix: local venv is not used under some circumstances
E.g.,
- There is an ".python-version" file but no "pyenv" is installed.
- "pyenv which python" will raises an exception.
python_path
is an empty string andNone
is returned.
But actually we want to test all direct subdirs later and shouldn't return None
here.
1.3.8
- chore: update pyright 1.1.366