github microsoft/vscode-python 2021.3.658691958

latest releases: v2024.20.0, v2024.18.1, v2024.18.0...
3 years ago

2021.3.0 (16 March 2021)

Enhancements

  1. Activate the extension when the following files are found: Pipfile, setup.py, requirements.txt, manage.py, app.py
    (thanks Dhaval Soneji)
    (#4765)
  2. Add optional user-level python.tensorBoard.logDirectory setting. When starting a TensorBoard session, use this setting if it is present instead of prompting the user to select a log directory.
    (#15476)

Fixes

  1. Fix nosetests to run tests only once. (thanks djplt)
    (#6043)
  2. Make on-enter behaviour after raise much more like that of return, fixing
    handling in the case of pressing enter to wrap the parentheses of an exception
    call.
    (thanks PeterJCLaw)
    (#10583)
  3. Add configuration debugpyPath. (thanks djplt)
    (#14631)
  4. Fix Mypy linter pointing to wrong column number (off by one).
    (thanks anttipessa, haalto, JeonCD and junskU)
    (#14978)
  5. Show each python.org install only once on Mac when in discovery experiment.
    (#15302)
  6. All relative interpreter path reported start with ~ when in discovery experiment.
    (#15312)
  7. Remove FLASK_DEBUG from flask debug configuration to allow reload.
    (#15373)
  8. Install using pipenv only if the selected environment is pipenv which is related to workspace folder, when in discovery experiment.
    (#15489)
  9. Fixes issue with detecting new installations of Windows Store python.
    (#15541)
  10. Add cached-property package to bundled python packages. This is needed by jedi-language-server running on python 3.6 and python 3.7.
    (#15566)
  11. Remove limit on workspace symbols when using Jedi language server.
    (#15576)
  12. Use shorter paths for python interpreter when possible.
    (#15580)
  13. Ensure that jedi language server uses jedi shipped with the extension.
    (#15586)
  14. Updates to Proposed API, and fix the failure in VS Code Insider tests.
    (#15638)

Code Health

  1. Add support for "Trusted Workspaces".

    "Trusted Workspaces" is an upcoming feature in VS Code. (See:
    microsoft/vscode#106488.) For now you need
    the following for the experience:

    • the latest VS Code Insiders
    • add "workspace.trustEnabled": true to your user settings.json

    At that point, when the Python extension would normally activate, VS Code
    will prompt you about whether or not the current workspace is trusted.
    If not then the extension will be disabled (but only for that workspace).
    As soon as the workspace is marked as trusted, the extension will
    activate.
    (#15525)

  2. Updates to the VSCode Notebook API.
    (#15567)

  3. Fix failing smoke tests on CI.
    (#15573)

  4. Update VS Code engine to 1.54.0
    (#15604)

  5. Use onReady method available on language client to ensure language server is ready.
    (#15612)

Don't miss a new vscode-python release

NewReleases is sending notifications on new releases.