github microsoft/pylance-release 2020.12.0

latest releases: 2022.3.2, 2022.3.1, 2022.3.0...
3 years ago

Notable changes:

  • Extract method and extract variable code actions are available for preview in Pylance insiders ("pylance.insidersChannel": "daily").
  • Completion suggestions are now matched more fuzzily. For example, typing lx will match a completion for logical_xor, even though it does not contain the substring lx.
    (pylance-release#608)
  • Auto-imports (both completions and quick fixes) will now make use of existing imports when possible. For example, an auto-import completion for array when import numpy as np is present will now complete to np.array, rather than adding from numpy import array.
  • Auto-imports will now correctly insert a new import rather than reusing an import statement from a submodule.
    (pylance-release#646)
  • Method override completions will now generate a super() call.
    (pylance-release#668)
  • Completions for overriden methods will now show the correct signature.
  • VS Code's "word based suggestions" (editor.wordBasedSuggestion) are now disabled by default in Python files to mitigate poor completions when Pylance specifies no completions are available.
    (pylance-release#604)
  • Pylance's copy of typeshed has been updated.

For the full changelog, see CHANGELOG.md.

Don't miss a new pylance-release release

NewReleases is sending notifications on new releases.