{"id":7653,"date":"2020-04-21T11:17:12","date_gmt":"2020-04-21T19:17:12","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/python\/?p=7653"},"modified":"2020-04-21T11:49:40","modified_gmt":"2020-04-21T19:49:40","slug":"python-in-visual-studio-code-april-2020-release","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/python\/python-in-visual-studio-code-april-2020-release\/","title":{"rendered":"Python in Visual Studio Code \u2013 April 2020 Release"},"content":{"rendered":"<p><span data-contrast=\"none\">We are pleased to announce that the <\/span><span data-contrast=\"none\">April\u00a0<\/span><span data-contrast=\"none\">20<\/span><span data-contrast=\"none\">20<\/span><span data-contrast=\"none\">\u00a0<\/span><span data-contrast=\"none\">release of the Python Extension for Visual Studio Code is now available. You can <\/span><a href=\"https:\/\/marketplace.visualstudio.com\/items?itemName=ms-python.python\"><span data-contrast=\"none\">download the Python extension <\/span><\/a><span data-contrast=\"none\">from the\u00a0Marketplace, 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 <\/span><a href=\"https:\/\/code.visualstudio.com\/docs\/python\/python-tutorial\"><span data-contrast=\"none\">Python support in Visual Studio Code <\/span><\/a><span data-contrast=\"none\">in the documentation.\u00a0<\/span><span data-ccp-props=\"{&quot;134233117&quot;:true,&quot;134233118&quot;:true,&quot;201341983&quot;:0,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\" data-wac-het=\"1\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">T<\/span><span data-contrast=\"auto\">his<\/span><span data-contrast=\"auto\">\u00a0was a short<\/span><span data-contrast=\"auto\">\u00a0release\u00a0<\/span><span data-contrast=\"auto\">where\u00a0<\/span><span data-contrast=\"auto\">we\u00a0<\/span><span data-contrast=\"auto\">addressed <\/span><span data-contrast=\"auto\">43<\/span><span data-contrast=\"auto\">\u00a0<\/span><span data-contrast=\"auto\">issues,<\/span><span data-contrast=\"auto\">\u00a0including<\/span><span data-contrast=\"auto\"> ipywidgets <\/span><span data-contrast=\"none\">support<\/span><span data-contrast=\"none\">\u00a0 in Jypyter Notebooks and debugger support for Django and Flask auto-reload. <\/span><span data-contrast=\"none\">Y<\/span><span data-contrast=\"none\">ou can check the\u00a0<\/span><span data-contrast=\"none\">full list of improvements i<\/span><span data-contrast=\"none\">n\u00a0<\/span><span data-contrast=\"none\">our<\/span><a href=\"https:\/\/github.com\/Microsoft\/vscode-python\/blob\/master\/CHANGELOG.md\"><span data-contrast=\"none\"> changelog<\/span><\/a><span data-contrast=\"none\">.<\/span><span data-ccp-props=\"{&quot;134233117&quot;:true,&quot;134233118&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\" data-wac-het=\"1\">\u00a0<\/span><\/p>\n<h2><span data-contrast=\"none\">ipywi<\/span><span data-contrast=\"none\">dget<\/span><span data-contrast=\"none\">s<\/span><span data-contrast=\"none\">\u00a0<\/span><span data-contrast=\"none\">Support<\/span><span data-contrast=\"none\">\u00a0in\u00a0<\/span><span data-contrast=\"none\">Jupyter<\/span><span data-contrast=\"none\">\u00a0Notebooks<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:0,&quot;335559740&quot;:240}\" data-wac-het=\"1\">\u00a0<\/span><\/h2>\n<p><span data-contrast=\"none\">ipywidgets<\/span><span data-contrast=\"none\">\u00a0support<\/span><span data-contrast=\"none\">\u00a0ha<\/span><span data-contrast=\"none\">s<\/span><span data-contrast=\"none\">\u00a0been one of\u00a0<\/span><span data-contrast=\"none\">our<\/span><a href=\"https:\/\/github.com\/microsoft\/vscode-python\/issues\/3429\"><span data-contrast=\"none\"> top<\/span><span data-contrast=\"none\"> requested features <\/span><\/a><span data-contrast=\"none\">on GitHub<\/span><span data-contrast=\"none\">\u00a0<\/span><span data-contrast=\"none\">since the release of\u00a0<\/span><span data-contrast=\"none\">Jupyter<\/span><span data-contrast=\"none\">\u00a0Notebook support in the Python Extension. Today we\u2019re\u00a0<\/span><span data-contrast=\"none\">excited to announce tha<\/span><span data-contrast=\"none\">t we now support\u00a0<\/span><span data-contrast=\"none\">all\u00a0<\/span><span data-contrast=\"none\">ipywidgets<\/span><span data-contrast=\"none\">\u00a0(including custom ones)\u00a0<\/span><span data-contrast=\"none\">in\u00a0<\/span><span data-contrast=\"none\">Jupyter<\/span><span data-contrast=\"none\">\u00a0Notebooks in VS Code. This\u00a0<\/span><span data-contrast=\"none\">means that you can bring all your\u00a0<\/span><span data-contrast=\"none\">favorite<\/span><span data-contrast=\"none\">\u00a0interactive plotting libraries such as\u00a0<\/span><span data-contrast=\"none\">beakerX<\/span><span data-contrast=\"none\">,\u00a0<\/span><span data-contrast=\"none\">bqplot<\/span><span data-contrast=\"none\">,\u00a0<\/span><span data-contrast=\"none\">and<\/span><span data-contrast=\"none\">\u00a0many mor<\/span><span data-contrast=\"none\">e, to\u00a0<\/span><span data-contrast=\"none\">visualize<\/span><span data-contrast=\"none\">\u00a0and interact with data in Notebooks and\u00a0<\/span><span data-contrast=\"none\">VS Code!<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\" data-wac-het=\"1\">\u00a0<\/span><\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/python\/wp-content\/uploads\/sites\/12\/2020\/04\/April2020-ipywidgets-Small-1.gif\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-7662\" src=\"https:\/\/devblogs.microsoft.com\/python\/wp-content\/uploads\/sites\/12\/2020\/04\/April2020-ipywidgets-Small-1.gif\" alt=\"ipywidgets support in Jupyter Notebooks editor\" width=\"800\" height=\"585\" \/><\/a><\/p>\n<h2><\/h2>\n<h2><span data-contrast=\"none\">Debugger support for Django<\/span><span data-contrast=\"none\">\u00a0<\/span><span data-contrast=\"none\">and Flask auto<\/span><span data-contrast=\"none\">&#8211;<\/span><span data-contrast=\"none\">reload\u00a0<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\" data-wac-het=\"1\">\u00a0<\/span><\/h2>\n<p><span data-contrast=\"none\">In the\u00a0<\/span><a href=\"https:\/\/devblogs.microsoft.com\/python\/python-in-visual-studio-code-march-2020-release\/\"><span data-contrast=\"none\">March release<\/span><span data-contrast=\"none\">\u00a0of the Python extension<\/span><\/a><span data-contrast=\"none\">, we\u00a0<\/span><span data-contrast=\"none\">introdu<\/span><span data-contrast=\"none\">ced our new Python debugger,\u00a0<\/span><a href=\"https:\/\/github.com\/microsoft\/debugpy\"><span data-contrast=\"none\">debugpy<\/span><\/a><span data-contrast=\"none\">.<\/span><span data-contrast=\"none\">\u00a0<\/span><span data-contrast=\"none\">We\u2019re happy to\u00a0<\/span><span data-contrast=\"none\">announce that it supports live reloading of web applications, such as Django and Flask<\/span><span data-contrast=\"none\">.\u00a0<\/span><span data-contrast=\"none\">Now when you make edits to your application, you don\u2019t need to restart the debugger to get them applied<\/span><span data-contrast=\"none\"> anymore. T<\/span><span data-contrast=\"none\">he web server is autom<\/span><span data-contrast=\"none\">atically reloaded in th<\/span><span data-contrast=\"none\">e<\/span><span data-contrast=\"none\">\u00a0same debugging session once the changes are saved.\u00a0<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\" data-wac-het=\"1\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"none\">To try it out, open a web application and add a debug configuration<\/span><span data-contrast=\"none\">\u00a0(<\/span><span data-contrast=\"none\">by\u00a0<\/span><span data-contrast=\"none\">clicking on\u00a0<\/span><b><span data-contrast=\"none\">Run &gt; Add Configuration&#8230;<\/span><\/b><span data-contrast=\"none\">, or by opening the Run view and clicking on\u00a0<\/span><b><span data-contrast=\"none\">create launch.json file<\/span><\/b>)<span data-contrast=\"none\">.\u00a0<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\" data-wac-het=\"1\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"none\">Then select the framework used in your web application<\/span><span data-contrast=\"none\">.<\/span><span data-contrast=\"none\">\u00a0In this example, we selected\u00a0<\/span><span data-contrast=\"none\">Django.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\" data-wac-het=\"1\">\u00a0<\/span><\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/python\/wp-content\/uploads\/sites\/12\/2020\/04\/April2020-DebugConfigs.png\"><img decoding=\"async\" class=\"aligncenter size-large wp-image-7655\" src=\"https:\/\/devblogs.microsoft.com\/python\/wp-content\/uploads\/sites\/12\/2020\/04\/April2020-DebugConfigs-1024x382.png\" alt=\"Debugger Configuration Options in Visual Studio Code\" width=\"640\" height=\"239\" srcset=\"https:\/\/devblogs.microsoft.com\/python\/wp-content\/uploads\/sites\/12\/2020\/04\/April2020-DebugConfigs-1024x382.png 1024w, https:\/\/devblogs.microsoft.com\/python\/wp-content\/uploads\/sites\/12\/2020\/04\/April2020-DebugConfigs-300x112.png 300w, https:\/\/devblogs.microsoft.com\/python\/wp-content\/uploads\/sites\/12\/2020\/04\/April2020-DebugConfigs-768x287.png 768w, https:\/\/devblogs.microsoft.com\/python\/wp-content\/uploads\/sites\/12\/2020\/04\/April2020-DebugConfigs-1536x573.png 1536w, https:\/\/devblogs.microsoft.com\/python\/wp-content\/uploads\/sites\/12\/2020\/04\/April2020-DebugConfigs.png 1733w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/a><\/p>\n<p><span class=\"TextRun SCXW146383775 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW146383775 BCX0\" data-wac-het=\"1\">This will create a\u00a0<\/span><\/span><a class=\"Hyperlink SCXW146383775 BCX0\" href=\"https:\/\/code.visualstudio.com\/docs\/python\/debugging#_initialize-configurations\" target=\"_blank\" rel=\"noreferrer noopener\"><span class=\"TextRun Underlined SCXW146383775 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW146383775 BCX0\" data-ccp-charstyle=\"Hyperlink\" data-wac-het=\"1\">launch.json<\/span><\/span><span class=\"TextRun Underlined SCXW146383775 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW146383775 BCX0\" data-ccp-charstyle=\"Hyperlink\" data-wac-het=\"1\">\u00a0<\/span><\/span><span class=\"TextRun Underlined SCXW146383775 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW146383775 BCX0\" data-ccp-charstyle=\"Hyperlink\" data-wac-het=\"1\">file<\/span><\/span><\/a><span class=\"TextRun SCXW146383775 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW146383775 BCX0\" data-wac-het=\"1\">\u00a0<\/span><\/span><span class=\"TextRun SCXW146383775 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW146383775 BCX0\" data-wac-het=\"1\">and add a<\/span><\/span><span class=\"TextRun SCXW146383775 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW146383775 BCX0\" data-wac-het=\"1\">\u00a0<\/span><\/span><span class=\"TextRun SCXW146383775 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW146383775 BCX0\" data-wac-het=\"1\">run\/<\/span><\/span><span class=\"TextRun SCXW146383775 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW146383775 BCX0\" data-wac-het=\"1\">debug<\/span><\/span><span class=\"TextRun SCXW146383775 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW146383775 BCX0\" data-wac-het=\"1\">\u00a0configuration\u00a0<\/span><\/span><span class=\"TextRun SCXW146383775 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW146383775 BCX0\" data-wac-het=\"1\">to it.<\/span><\/span><span class=\"TextRun SCXW146383775 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW146383775 BCX0\" data-wac-het=\"1\">\u00a0<\/span><\/span><span class=\"TextRun SCXW146383775 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW146383775 BCX0\" data-wac-het=\"1\">To get live reloading working, simply remove the \u201c&#8211;no-reload&#8221; flag in the\u00a0<\/span><\/span><span class=\"TextRun SCXW146383775 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SpellingErrorV2 SCXW146383775 BCX0\" data-wac-het=\"1\">args<\/span><span class=\"NormalTextRun SCXW146383775 BCX0\" data-wac-het=\"1\">\u00a0<\/span><\/span><span class=\"TextRun SCXW146383775 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW146383775 BCX0\" data-wac-het=\"1\">property:<\/span><\/span><\/p>\n<p><span class=\"EOP SCXW146383775 BCX0\" data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\" data-wac-het=\"1\"> <a href=\"https:\/\/devblogs.microsoft.com\/python\/wp-content\/uploads\/sites\/12\/2020\/04\/April2020-DjangoConfig.png\"><img decoding=\"async\" class=\"aligncenter wp-image-7656\" src=\"https:\/\/devblogs.microsoft.com\/python\/wp-content\/uploads\/sites\/12\/2020\/04\/April2020-DjangoConfig-1024x558.png\" alt=\"Django configuration on launch.json file with reload functionality disabled\" width=\"475\" height=\"259\" srcset=\"https:\/\/devblogs.microsoft.com\/python\/wp-content\/uploads\/sites\/12\/2020\/04\/April2020-DjangoConfig-1024x558.png 1024w, https:\/\/devblogs.microsoft.com\/python\/wp-content\/uploads\/sites\/12\/2020\/04\/April2020-DjangoConfig-300x164.png 300w, https:\/\/devblogs.microsoft.com\/python\/wp-content\/uploads\/sites\/12\/2020\/04\/April2020-DjangoConfig-768x419.png 768w, https:\/\/devblogs.microsoft.com\/python\/wp-content\/uploads\/sites\/12\/2020\/04\/April2020-DjangoConfig.png 1190w\" sizes=\"(max-width: 475px) 100vw, 475px\" \/><\/a><\/span><\/p>\n<p><span class=\"TextRun SCXW244802050 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW244802050 BCX0\" data-wac-het=\"1\">This configuration will now look like this:<\/span><\/span><span class=\"EOP SCXW244802050 BCX0\" data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\" data-wac-het=\"1\">\u00a0<\/span><\/p>\n<pre class=\"prettyprint\">      {\r\n            \"name\": \"Python: Django\",\r\n            \"type\": \"python\",\r\n            \"request\": \"launch\",\r\n            \"program\": \"${workspaceFolder}\\\\manage.py\",\r\n            \"args\": [\r\n                \"runserver\",\r\n            ],\r\n            \"django\": true\r\n        },<\/pre>\n<div>\n<p><span class=\"TextRun SCXW231512949 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW231512949 BCX0\" data-wac-het=\"1\">Now when you start debugging (<\/span><\/span><strong><span class=\"TextRun SCXW231512949 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW231512949 BCX0\" data-wac-het=\"1\">F5<\/span><\/span><\/strong><span class=\"TextRun SCXW231512949 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW231512949 BCX0\" data-wac-het=\"1\">)<\/span><\/span><span class=\"TextRun SCXW231512949 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW231512949 BCX0\" data-wac-het=\"1\">,\u00a0<\/span><\/span><span class=\"TextRun SCXW231512949 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW231512949 BCX0\" data-wac-het=\"1\">make changes to the application<\/span><\/span><span class=\"TextRun SCXW231512949 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW231512949 BCX0\" data-wac-het=\"1\">\u00a0and save<\/span><\/span><span class=\"TextRun SCXW231512949 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW231512949 BCX0\" data-wac-het=\"1\">\u00a0them<\/span><\/span><span class=\"TextRun SCXW231512949 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW231512949 BCX0\" data-wac-het=\"1\">, the server will automatically reload.<\/span><\/span><\/p>\n<\/div>\n<div><span data-contrast=\"none\"><a href=\"https:\/\/devblogs.microsoft.com\/python\/wp-content\/uploads\/sites\/12\/2020\/04\/April2020-autoreload-Small.gif\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-7664\" src=\"https:\/\/devblogs.microsoft.com\/python\/wp-content\/uploads\/sites\/12\/2020\/04\/April2020-autoreload-Small.gif\" alt=\"Image April2020 autoreload Small\" width=\"800\" height=\"490\" \/><\/a><\/span><\/div>\n<div><\/div>\n<p><br> <\/br><\/p>\n<div><span class=\"TextRun SCXW231512949 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW231512949 BCX0\" data-wac-het=\"1\"><strong><span class=\"TextRun SCXW67453439 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW67453439 BCX0\" data-wac-het=\"1\">Pro tip:<\/span><\/span><\/strong><span class=\"TextRun SCXW67453439 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW67453439 BCX0\" data-wac-het=\"1\">\u00a0<\/span><\/span><span class=\"TextRun SCXW67453439 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW67453439 BCX0\" data-wac-het=\"1\">To enable live reload for Flask applications, set &#8220;FLASK_DEBUG&#8221;: &#8220;1&#8221; in the\u00a0<\/span><\/span><span class=\"TextRun SCXW67453439 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SpellingErrorV2 SpellingErrorHighlight SCXW67453439 BCX0\" data-wac-het=\"1\">launch.json<\/span><span class=\"NormalTextRun SCXW67453439 BCX0\" data-wac-het=\"1\">\u00a0<\/span><\/span><span class=\"TextRun SCXW67453439 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW67453439 BCX0\" data-wac-het=\"1\">file, as it\u2019s set to \u201c0\u201d by default.<\/span><\/span><span class=\"EOP SCXW67453439 BCX0\" data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\" data-wac-het=\"1\">\u00a0<\/span>\u00a0\u00a0<\/span><\/span><span class=\"EOP SCXW231512949 BCX0\" data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\" data-wac-het=\"1\">\u00a0<\/span><\/div>\n<div><\/div>\n<p><br> <\/br><\/p>\n<h2><span class=\"TextRun SCXW97585003 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW97585003 BCX0\" data-wac-het=\"1\">Other Changes and Enhancements<\/span><\/span><span class=\"EOP SCXW97585003 BCX0\" data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\" data-wac-het=\"1\">\u00a0<\/span><\/h2>\n<p><span data-contrast=\"none\">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:<\/span><span data-ccp-props=\"{&quot;134233117&quot;:true,&quot;134233118&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\" data-wac-het=\"1\">\u00a0<\/span><\/p>\n<ul>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"6\" aria-setsize=\"-1\" data-aria-posinset=\"1\" data-aria-level=\"1\"><span data-contrast=\"none\">Ensure plot fits within the page of the PDF. (<\/span><a href=\"https:\/\/github.com\/Microsoft\/vscode-python\/issues\/9403\"><span data-contrast=\"none\">#9403<\/span><\/a><span data-contrast=\"none\">)<\/span><span data-ccp-props=\"{&quot;134233117&quot;:true,&quot;134233118&quot;:true,&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\" data-wac-het=\"1\">\u00a0<\/span><\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"6\" aria-setsize=\"-1\" data-aria-posinset=\"2\" data-aria-level=\"1\"><span data-contrast=\"none\">Support using &#8216;esc&#8217; or &#8216;ctrl+u&#8217; to clear the contents of the interactive window input box<\/span><span data-contrast=\"none\">.<\/span><span data-contrast=\"none\">\u00a0<\/span><span data-contrast=\"none\">(<\/span><a href=\"https:\/\/github.com\/Microsoft\/vscode-python\/issues\/10198\"><span data-contrast=\"none\">#10198<\/span><\/a><span data-contrast=\"none\">)<\/span><span data-ccp-props=\"{&quot;134233117&quot;:true,&quot;134233118&quot;:true,&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\" data-wac-het=\"1\">\u00a0<\/span><\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"6\" aria-setsize=\"-1\" data-aria-posinset=\"3\" data-aria-level=\"1\"><span data-contrast=\"none\">Experiments no longer block on telemetry. (<\/span><a href=\"https:\/\/github.com\/Microsoft\/vscode-python\/issues\/10008\"><span data-contrast=\"none\">#10008<\/span><\/a><span data-contrast=\"none\">)<\/span><span data-ccp-props=\"{&quot;134233117&quot;:true,&quot;134233118&quot;:true,&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\" data-wac-het=\"1\">\u00a0<\/span><\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"6\" aria-setsize=\"-1\" data-aria-posinset=\"3\" data-aria-level=\"1\"><span data-contrast=\"none\">Ensure user code in cell is preserved between cell execution and cell edits. (<\/span><a href=\"https:\/\/github.com\/Microsoft\/vscode-python\/issues\/10949\"><span data-contrast=\"none\">#10949<\/span><\/a><span data-contrast=\"none\">)<\/span><span data-ccp-props=\"{&quot;134233117&quot;:true,&quot;134233118&quot;:true,&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\" data-wac-het=\"1\">\u00a0<\/span><\/li>\n<\/ul>\n<p><span data-contrast=\"none\">We<\/span><span data-contrast=\"none\">\u2019re constantly\u00a0<\/span><span data-contrast=\"none\">A\/B test<\/span><span data-contrast=\"none\">ing<\/span><span data-contrast=\"none\">\u00a0new 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\u00a0<\/span><span data-contrast=\"none\">of<\/span><span data-contrast=\"none\">\u00a0A\/B testing, you can open the user\u00a0settings.json\u00a0file (<\/span><b><span data-contrast=\"none\">View\u00a0<\/span><\/b><span data-contrast=\"none\">&gt;\u00a0<\/span><b><span data-contrast=\"none\">Command Palette&#8230;<\/span><\/b><span data-contrast=\"none\">\u00a0and run\u00a0<\/span><b><span data-contrast=\"none\">Preferences: Open Settings (JSON)<\/span><\/b><span data-contrast=\"none\">)<\/span><b><span data-contrast=\"none\">\u00a0<\/span><\/b><span data-contrast=\"none\">and set the &#8220;<\/span><i><span data-contrast=\"none\">python.experiments.enabled<\/span><\/i><span data-contrast=\"none\">&#8221; setting to\u00a0<\/span><i><span data-contrast=\"none\">false<\/span><\/i><span data-contrast=\"none\">.\u00a0<\/span><span data-ccp-props=\"{&quot;134233117&quot;:true,&quot;134233118&quot;:true,&quot;201341983&quot;:1,&quot;335559739&quot;:160,&quot;335559740&quot;:285}\" data-wac-het=\"1\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"none\">Be sure to <\/span><a href=\"https:\/\/marketplace.visualstudio.com\/items?itemName=ms-python.python\"><span data-contrast=\"none\">download the Python extension <\/span><\/a><span data-contrast=\"none\">for Visual Studio Code now to try out the above improvements. If you run into any problems,\u00a0<\/span><a href=\"https:\/\/github.com\/microsoft\/vscode-python\/issues\/new\/choose\"><span data-contrast=\"none\">please file an issue<\/span><\/a><span data-contrast=\"none\"> on the <\/span><a href=\"https:\/\/github.com\/Microsoft\/vscode-python\"><span data-contrast=\"none\">Python VS Code GitHub <\/span><\/a><span data-contrast=\"none\">page.<\/span><span data-ccp-props=\"{&quot;134233117&quot;:true,&quot;134233118&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\" data-wac-het=\"1\">\u00a0<\/span><\/p>\n<p><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\" data-wac-het=\"1\">\u00a0<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>We are happy to announce that the April 2020 release of the Python Extension for Visual Studio Code is now available. This\u00a0was a short\u00a0release\u00a0where\u00a0we\u00a0addressed 43\u00a0issues,\u00a0including ipywidgets support\u00a0 in Jypyter Notebooks and debugger support for Django and Flask auto-reload. Keep on reading to learn more!<\/p>\n","protected":false},"author":8347,"featured_media":7662,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1,6],"tags":[],"class_list":["post-7653","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-python","category-visual-studio-code"],"acf":[],"blog_post_summary":"<p>We are happy to announce that the April 2020 release of the Python Extension for Visual Studio Code is now available. This\u00a0was a short\u00a0release\u00a0where\u00a0we\u00a0addressed 43\u00a0issues,\u00a0including ipywidgets support\u00a0 in Jypyter Notebooks and debugger support for Django and Flask auto-reload. Keep on reading to learn more!<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/python\/wp-json\/wp\/v2\/posts\/7653","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\/8347"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/python\/wp-json\/wp\/v2\/comments?post=7653"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/python\/wp-json\/wp\/v2\/posts\/7653\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/python\/wp-json\/wp\/v2\/media\/7662"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/python\/wp-json\/wp\/v2\/media?parent=7653"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/python\/wp-json\/wp\/v2\/categories?post=7653"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/python\/wp-json\/wp\/v2\/tags?post=7653"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}