Skip to content

Releases: sublimelsp/LSP-basedpyright

1.2.8

24 Jul 12:45
2d0be0c
Compare
Choose a tag to compare

1.2.7

17 Jul 12:35
1edd85f
Compare
Choose a tag to compare

1.2.6

11 Jul 12:00
6df6452
Compare
Choose a tag to compare

1.2.5

03 Jul 14:17
8db4fcb
Compare
Choose a tag to compare
  • chore: update basedpyright 1.13.2
  • refactor: python executable search order: py -> python3 -> python

1.2.4

27 Jun 09:59
024b604
Compare
Choose a tag to compare

1.2.2

19 Jun 07:42
131a4d2
Compare
Choose a tag to compare

1.2.0

12 Jun 12:30
3481dce
Compare
Choose a tag to compare

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 or venv 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 basedpyright 1.12.6
  • fix: update_schema.py doesn't work due to upstream changes
  • refactor: use boot.py and plugin/ structure

1.1.10

05 Jun 12:15
2551191
Compare
Choose a tag to compare

1.1.9

05 Jun 06:40
bd77fef
Compare
Choose a tag to compare
  • fix: local venv is not used under some circumstances

E.g.,

  1. There is an ".python-version" file but no "pyenv" is installed.
  2. "pyenv which python" will raises an exception.
  3. python_path is an empty string and None is returned.

But actually we want to test all direct subdirs later and shouldn't return None here.

1.1.8

03 Jun 03:48
bbe0291
Compare
Choose a tag to compare