{"id":9285,"date":"2023-03-02T09:42:04","date_gmt":"2023-03-02T17:42:04","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/python\/?p=9285"},"modified":"2023-03-02T09:42:04","modified_gmt":"2023-03-02T17:42:04","slug":"python-in-visual-studio-code-march-2023-release","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/python\/python-in-visual-studio-code-march-2023-release\/","title":{"rendered":"Python in Visual Studio Code &#8211; March 2023 Release"},"content":{"rendered":"<p>We\u2019re excited to announce that the March 2023 release of the <a href=\"https:\/\/marketplace.visualstudio.com\/items?itemName=ms-python.python\">Python<\/a> and <a href=\"https:\/\/marketplace.visualstudio.com\/items?itemName=ms-toolsai.jupyter\">Jupyter<\/a> extensions for Visual Studio Code are now available!<\/p>\n<p>This release includes the following announcements:<\/p>\n<ul>\n<li>Back button and cancel support added to <code>Create Environment<\/code> command<\/li>\n<li>Python extension no longer ships isort by default<\/li>\n<li>Improvements to kernel picker selection in Jupyter notebooks<\/li>\n<li>Python for VS Code team on the Python Pulse<\/li>\n<\/ul>\n<p>If you\u2019re interested, you can check the full list of improvements in our changelogs for the <a href=\"https:\/\/github.com\/microsoft\/vscode-python\/releases\">Python<\/a>, <a href=\"https:\/\/github.com\/microsoft\/vscode-jupyter\/blob\/main\/CHANGELOG.md\">Jupyter<\/a> and <a href=\"https:\/\/github.com\/microsoft\/pylance-release\/blob\/main\/CHANGELOG.md\">Pylance<\/a> extensions.<\/p>\n<h2>Back button and cancel functionality added to Create Environment command<\/h2>\n<p>In this release, we have added functionality that enables you to go <code>Back<\/code> or <code>Cancel<\/code> while using the <code>Python: Create Environment<\/code> command. This change will allow you to return to previous steps to make changes to environment creation or cancel the action altogether by pressing the <code>Escape<\/code> key or <code>Cancel<\/code> button. This enhancement has been applied to all <code>Create Environment<\/code> UI and will be present in the Jupyter extension as well.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/user-images.githubusercontent.com\/60238438\/221656135-0269070d-a1fb-4bab-911a-6bea9502269b.gif\" alt=\"Create Environment command using the back button\" \/><\/p>\n<h2>Python extension no longer ships isort by default<\/h2>\n<p>We are continuously listening to feedback from the community and have heard requests to reduce the number of extensions we install by default alongside the Python extension. We also want to make sure community-created extensions are considered equally compared to any extension we provide as a team, e.g. people consider the <a href=\"https:\/\/marketplace.visualstudio.com\/items?itemName=charliermarsh.ruff\">Ruff extension<\/a> for import sorting. Subsequently, as of this release, isort is no longer installed by default alongside the Python extension.<\/p>\n<p>The <a href=\"https:\/\/marketplace.visualstudio.com\/items?itemName=ms-python.isort\">isort extension<\/a> can still be downloaded from the marketplace as an opt-in to the functionality it provides.<\/p>\n<h2>Improvements to kernel selection in Jupyter notebooks<\/h2>\n<p>When selecting a kernel in a Jupyter notebook, the picker now shows the most recently used kernels by default. This is a convenient change from the previous behavior, as it used to show all available kernels. You can still see all available kernels by a secondary picker <strong>Select Another Kernel&#8230;<\/strong>, which will group all kernels by their source (for example: Jupyter Kernel, Python Environment, etc.) when you have the latest <a href=\"https:\/\/marketplace.visualstudio.com\/items?itemName=ms-toolsai.jupyter\">Jupyter<\/a> and <a href=\"https:\/\/marketplace.visualstudio.com\/items?itemName=ms-python.python\">Python<\/a> extensions installed.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/user-images.githubusercontent.com\/60238438\/221657183-460e2816-a617-4eb0-b3bb-4676d3c56743.gif\" alt=\"Jupyter Kernel Picker with MRU\" \/><\/p>\n<h2>Python for VS Code team on the Python Pulse<\/h2>\n<p>The Python for VS Code team joined Dawn Wages on the <a href=\"https:\/\/devblogs.microsoft.com\/python\/announcing-python-pulse\/\">Python Pulse<\/a> livestream to talk all things Python and VS Code! Meet the team, learn how to contribute to the Python extension, and hear more about what is top of mind for the Python extension and VS Code by watching the <a href=\"https:\/\/www.youtube.com\/watch?v=lxheR6p1u0A&amp;feature=youtu.be\">livestream recording<\/a>.<\/p>\n<p>The Python Pulse is a bi-monthly livestream where host, Dawn Wages, recaps the latest news in Microsoft Cloud, VS Code and Python tech ecosystem; then deep dives into special segments with an esteemed guest. Catch Dawn on the next Python Pulse livestream, March 10, streaming on <a href=\"https:\/\/www.twitch.tv\/visualstudio\">Visual Studio Twitch Channel<\/a> and <a href=\"https:\/\/www.youtube.com\/@code\/streams\">VS Code YouTube Streams<\/a>.<\/p>\n<h2>Other Changes and Enhancements<\/h2>\n<p>We have also added small enhancements and fixed issues requested by users that should improve your experience working with Python and Jupyter Notebooks in Visual Studio Code. Some notable changes include:<\/p>\n<ul>\n<li><a href=\"https:\/\/devblogs.microsoft.com\/python\/python-in-visual-studio-code-february-2023-release\/#preview-improved-intellisense-support-for-pytest-with-pylance\">Improved IntelliSense support for pytest with Pylance<\/a> is now out of preview and available in this latest release<\/li>\n<li>The <code>editor.formatOnType<\/code> setting is now on by default for Python files, which enables <a href=\"https:\/\/devblogs.microsoft.com\/python\/python-in-visual-studio-code-december-2022-release\/#auto-indentation-with-pylance\">auto indentation with Pylance<\/a> for everyone.<\/li>\n<li>Version 8 of <a href=\"https:\/\/pypi.org\/project\/ipywidgets\/#description\">IPyWidgets<\/a> is now supported in the Jupyter extension<\/li>\n<li>Improvements to Jupyter extension&#8217;s Interactive Window kernel selection. The current active interpreter will be used unless another kernel was previously chosen for an Interactive Window in that workspace<\/li>\n<\/ul>\n<p>We would also like to extend special thanks to this month\u2019s contributors:<\/p>\n<ul>\n<li><a href=\"https:\/\/github.com\/satya-vinay\">@satya-vinay<\/a> made their first contribution in <a href=\"https:\/\/github.com\/microsoft\/vscode-flake8\/pull\/76\">(vscode-flake8#76)<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/mitchell-as\">@mitchell-as<\/a> made their first contribution in <a href=\"https:\/\/github.com\/microsoft\/vscode-python\/pull\/20534\">(vscode-python#20534)<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/JCMais\">@JCMais<\/a> made their first contribution in <a href=\"https:\/\/github.com\/microsoft\/vscode-python\/pull\/20741\">(vscode-python#20741)<\/a><\/li>\n<\/ul>\n<p>Try out these new improvements by downloading the <a href=\"https:\/\/marketplace.visualstudio.com\/items?itemName=ms-python.python\">Python extension<\/a> and the <a href=\"https:\/\/marketplace.visualstudio.com\/items?itemName=ms-toolsai.jupyter\">Jupyter extension<\/a> from the Marketplace, or install them directly from the extensions view in Visual Studio Code (Ctrl + Shift + X or \u2318 + \u21e7 + X). You can learn more about <a href=\"https:\/\/code.visualstudio.com\/docs\/python\/python-tutorial\">Python support in Visual Studio Code<\/a> in the documentation. If you run into any problems or have suggestions, <a href=\"https:\/\/github.com\/microsoft\/vscode-python\/issues\/new\/choose\">please file an issue<\/a> on the <a href=\"https:\/\/github.com\/Microsoft\/vscode-python\">Python VS Code GitHub page<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The March 2023 release of the Python and Jupyter extensions for Visual Studio Code are now available. This release includes &#8220;back&#8221; and &#8220;cancel&#8221; support for the &#8220;Create Environment&#8221; command, isort no longer being shipped by default with the Python extension, improvements to the kernel picker experience in Jupyter, and the Python for VS Code team as guests on the Python Pulse livestream. Keep reading to learn more!<\/p>\n","protected":false},"author":99209,"featured_media":10119,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[17],"class_list":["post-9285","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-python","tag-python"],"acf":[],"blog_post_summary":"<p>The March 2023 release of the Python and Jupyter extensions for Visual Studio Code are now available. This release includes &#8220;back&#8221; and &#8220;cancel&#8221; support for the &#8220;Create Environment&#8221; command, isort no longer being shipped by default with the Python extension, improvements to the kernel picker experience in Jupyter, and the Python for VS Code team as guests on the Python Pulse livestream. Keep reading to learn more!<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/python\/wp-json\/wp\/v2\/posts\/9285","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/python\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/python\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/python\/wp-json\/wp\/v2\/users\/99209"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/python\/wp-json\/wp\/v2\/comments?post=9285"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/python\/wp-json\/wp\/v2\/posts\/9285\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/python\/wp-json\/wp\/v2\/media\/10119"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/python\/wp-json\/wp\/v2\/media?parent=9285"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/python\/wp-json\/wp\/v2\/categories?post=9285"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/python\/wp-json\/wp\/v2\/tags?post=9285"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}