Python in Visual Studio Code – November 2020 Release
We are pleased to announce that the November 2020 release of the Python Extension for Visual Studio Code is now available. You can download the Python extension from the Marketplace, or install it directly from the extension gallery in Visual Studio Code. If you already have the Python extension installed, you can also get the latest update by restarting Visual Studio Code. You can learn more about Python support in Visual Studio Code in the documentation.
In this release we’re introducing the Jupyter extension, which the Python extension now takes a dependency on.
If you’re interested, you can check the list of improvements in our changelog.
The Jupyter support of the Python extension has been refactored into the Jupyter extension, which was shipped today. This will allow for the same rich Jupyter Notebooks experience to be enabled for other languages. For Python, there’s no change in the experience as the Jupyter extension now comes installed with the Python extension.
Learn more about it on the Jupyter extension release announcement.
Other Changes and Enhancements
We have also added small enhancements and fixed issues requested by users that should improve your experience working with Python in Visual Studio Code. Some notable changes include:
- Updated the logic for parsing and sending selected code to the REPL. This is currently under experimentation, but available in the Insiders Program. (#14048)
- Fixed “TypeError: message must be set” error when debugging with pytest. (#14067)
We’re constantly A/B testing new features. If you see something different that was not announced by the team, you may be part of the experiment! To see if you are part of an experiment, you can check the first lines in the Python extension output channel. If you wish to opt-out of A/B testing, you can open the user settings.json file (View > Command Palette… and run Preferences: Open Settings (JSON)) and set the “python.experiments.enabled” setting to false.
Be sure to download the Python extension for Visual Studio Code now to try out the above improvements. If you run into any problems or have suggestions, please file an issue on the Python VS Code GitHub page.