Support local images in markdown and output for notebooks.Support the ability to take input from users inside of a notebook or the Interactive Window.We have also added small enhancements and fixed issues requested by users that should improve your experience working with Python in Visual Studio Code.
You can learn more about ctags support in our docu m entation. vscode folder for your project can be rebuilt when the Python extension loads by setting “ ” to true, or rebuilt on every file save by setting “” to true. This release includes a fix for the most upvoted bug report on our GitHub repo ( GH793 ), related to ctags. As a result, the document outline becomes populated with file symbols, allowing you to easily find these symbols (such as functions) within your workspace.
The c t ags tool is responsible for generating work s pace symbols for the user. Fixes to rebuilding ctags on save a nd on start Then when the extension loads and there’s a terminal open in VS Code, the selected environment will be automatically activated. activateEnvInCurrentTerminal “: true to your settings.json file.
To enable this feature, you can add the setting “ python.terminal. Now, this release includes the option of having environments to be auto activated in an already open terminal right when the Python extension loads. When you have a virtual or conda environment selected in your workspace and you create a new terminal, the Python extension activates the selected environment in that new terminal. Auto-activation of e nvironments in the t erminal on l oad Note: these performance calculations were measured in our testing, your improvements may vary. Opening Jupyter Notebooks (especially with a large file size) is now 2x faster.Creating a blank new Jupyter notebook is 2X faster.Initial starting of the Jupyter server is faster, and subsequent starts of the Jupyter server are more than 2X faster.Some of the significant improvements due to these changes are: This was accomplished through caching previous kernels and through optimizing the search for Jupyter. This release includes many improvements to the performance of Jupyter in VS Code in both the Notebook editor and the Interactive Window. P erformance improvements in the Jupyter Notebook editor ! To change your current active kernel, click on the current kernel to bring u p the VS Code kernel selector and select which kernel you want to switch to from the list. This release also allows you to change y our kernel to other Python kernels. In the top right of the Notebook Editor and the Interactive Window, you will now be able to see the current kernel that the notebook is using along with the kernel status ( i.
If you’re interested, you can check the full list of improvements i n our changelog. Fix es to rebuild ing ctags on save an d on s tart.Auto-activation of e nvironment s in the t erminal on l oad (thanks Igor Aleksanov !).P erformance improvements in the Jupyter Notebook editor.In this release we addressed 59 issues, including: You can learn more about Python support in Visual Studio Code i n the documentation.
If you already have the Python extension installed, you can also get the latest update by restarting Visual Studio Code.
You can download the Python extension from the Marketplace, or install it directly from the extension gallery in Visual Studio Code. We are pleased to announce that the January 2020 release of the Python Extension for Visual Studio Code is now available.