2021.3.0 (16 March 2021)
Enhancements
- Activate the extension when the following files are found:
Pipfile
,setup.py
,requirements.txt
,manage.py
,app.py
(thanks Dhaval Soneji)
(#4765) - 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
- Fix nosetests to run tests only once. (thanks djplt)
(#6043) - Make on-enter behaviour after
raise
much more like that ofreturn
, fixing
handling in the case of pressing enter to wrap the parentheses of an exception
call.
(thanks PeterJCLaw)
(#10583) - Add configuration debugpyPath. (thanks djplt)
(#14631) - Fix Mypy linter pointing to wrong column number (off by one).
(thanks anttipessa, haalto, JeonCD and junskU)
(#14978) - Show each python.org install only once on Mac when in discovery experiment.
(#15302) - All relative interpreter path reported start with
~
when in discovery experiment.
(#15312) - Remove FLASK_DEBUG from flask debug configuration to allow reload.
(#15373) - Install using pipenv only if the selected environment is pipenv which is related to workspace folder, when in discovery experiment.
(#15489) - Fixes issue with detecting new installations of Windows Store python.
(#15541) - Add
cached-property
package to bundled python packages. This is needed byjedi-language-server
running onpython 3.6
andpython 3.7
.
(#15566) - Remove limit on workspace symbols when using Jedi language server.
(#15576) - Use shorter paths for python interpreter when possible.
(#15580) - Ensure that jedi language server uses jedi shipped with the extension.
(#15586) - Updates to Proposed API, and fix the failure in VS Code Insider tests.
(#15638)
Code Health
-
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) -
Updates to the VSCode Notebook API.
(#15567) -
Fix failing smoke tests on CI.
(#15573) -
Update VS Code engine to 1.54.0
(#15604) -
Use
onReady
method available on language client to ensure language server is ready.
(#15612)