{"id":6904,"date":"2018-11-29T10:00:03","date_gmt":"2018-11-29T17:00:03","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/python\/?p=6904"},"modified":"2019-02-17T15:26:54","modified_gmt":"2019-02-17T22:26:54","slug":"python-in-visual-studio-code-november-2018-release","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/python\/python-in-visual-studio-code-november-2018-release\/","title":{"rendered":"Python in Visual Studio Code \u2013 November 2018 Release"},"content":{"rendered":"<p>We are pleased to announce that the November 2018 release of the Python Extension for Visual Studio Code is now available. You can\u00a0<u><a href=\"https:\/\/marketplace.visualstudio.com\/items?itemName=ms-python.python\">download the Python extension<\/a><\/u>\u00a0from the Marketplace, or install it directly from the extension gallery in Visual Studio Code. You can learn more about\u00a0<u><a href=\"https:\/\/code.visualstudio.com\/docs\/languages\/python\">Python support in Visual Studio Code<\/a><\/u>\u00a0in the documentation.<\/p>\n<p>This release was a quality focused release, we have closed a total of 28 issues, improving startup performance and fixing various bugs related to interpreter detection and Jupyter support.\u00a0Keep on reading to learn more!<\/p>\n<h2>Improved Python Extension Load Time<\/h2>\n<p>We have started using webpack to bundle the TypeScript files in the extension for faster load times, this has significantly improved the extension download size, installation time and extension load time.\u00a0 You can see the startup time of the extension by running the <strong>Developer: Startup Performance<\/strong> command. Below shows before and after times of extension loading (measured in milliseconds):<\/p>\n<p><img decoding=\"async\" class=\"size-full wp-image-6908 aligncenter\" src=\"https:\/\/devblogs.microsoft.com\/python\/wp-content\/uploads\/sites\/12\/2019\/02\/Nov2018-Img1-1.png\" alt=\"\" width=\"1048\" height=\"280\" srcset=\"https:\/\/devblogs.microsoft.com\/python\/wp-content\/uploads\/sites\/12\/2019\/02\/Nov2018-Img1-1.png 1048w, https:\/\/devblogs.microsoft.com\/python\/wp-content\/uploads\/sites\/12\/2019\/02\/Nov2018-Img1-1-300x80.png 300w, https:\/\/devblogs.microsoft.com\/python\/wp-content\/uploads\/sites\/12\/2019\/02\/Nov2018-Img1-1-768x205.png 768w, https:\/\/devblogs.microsoft.com\/python\/wp-content\/uploads\/sites\/12\/2019\/02\/Nov2018-Img1-1-1024x274.png 1024w\" sizes=\"(max-width: 1048px) 100vw, 1048px\" \/><\/p>\n<p>One downside to this approach is that reporting &amp; troubleshooting issues with the extension is harder as the call stacks output by the Python extension are minified. To address this we have added the <strong>Python: Enable source map support for extension debugging<\/strong> command. This command will load source maps for better error log output. This slows down load time of the extension, so we provide a helpful reminder to disable it every time the extension loads with source maps enabled:<\/p>\n<p><img decoding=\"async\" class=\"size-full wp-image-6909 aligncenter\" src=\"https:\/\/devblogs.microsoft.com\/python\/wp-content\/uploads\/sites\/12\/2019\/02\/Nov2018-Img2-1.png\" alt=\"\" width=\"552\" height=\"140\" srcset=\"https:\/\/devblogs.microsoft.com\/python\/wp-content\/uploads\/sites\/12\/2019\/02\/Nov2018-Img2-1.png 552w, https:\/\/devblogs.microsoft.com\/python\/wp-content\/uploads\/sites\/12\/2019\/02\/Nov2018-Img2-1-300x76.png 300w\" sizes=\"(max-width: 552px) 100vw, 552px\" \/><\/p>\n<p>These download, install, and startup performance improvements will help you get to writing your Python code faster, and we have even more improvements planned for future releases.<\/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 in Visual Studio Code. The full list of improvements is listed in our\u00a0<a href=\"https:\/\/github.com\/Microsoft\/vscode-python\/blob\/master\/CHANGELOG.md\">changelog<\/a>; some notable changes include:<\/p>\n<ul>\n<li>Update Jedi to 0.13.1 and parso 0.3.1. (<a href=\"https:\/\/github.com\/Microsoft\/vscode-python\/issues\/2667\">#2667<\/a>)<\/li>\n<li>Make diagnostic message actionable when opening a workspace with no currently selected Python interpreter. (<a href=\"https:\/\/github.com\/Microsoft\/vscode-python\/issues\/2983\">#2983<\/a>)<\/li>\n<li>Fix problems with virtual environments not matching the loaded python when running cells. (<a href=\"https:\/\/github.com\/Microsoft\/vscode-python\/issues\/3294\">#3294<\/a>)<\/li>\n<li>Make\u00a0nbconvert\u00a0in a installation not prevent notebooks from starting. (<a href=\"https:\/\/github.com\/Microsoft\/vscode-python\/issues\/3343\">#3343<\/a>)<\/li>\n<\/ul>\n<p>Be sure to\u00a0<a href=\"https:\/\/marketplace.visualstudio.com\/items?itemName=ms-python.python\">download the Python extension<\/a>\u00a0for Visual Studio Code now to try out the above improvements. If you run into any problems, please file an issue on the\u00a0<a href=\"https:\/\/github.com\/Microsoft\/vscode-python\">Python VS Code GitHub<\/a>\u00a0page.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We are pleased to announce that the November 2018 release of the Python Extension for Visual Studio Code is now available.  This release was a quality focused release, we have closed a total of 28 issues, improving startup performance and fixing various bugs related to interpreter detection and Jupyter support.\u00a0Keep on reading to learn more!<\/p>\n","protected":false},"author":883,"featured_media":6908,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[6],"tags":[],"class_list":["post-6904","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-visual-studio-code"],"acf":[],"blog_post_summary":"<p>We are pleased to announce that the November 2018 release of the Python Extension for Visual Studio Code is now available.  This release was a quality focused release, we have closed a total of 28 issues, improving startup performance and fixing various bugs related to interpreter detection and Jupyter support.\u00a0Keep on reading to learn more!<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/python\/wp-json\/wp\/v2\/posts\/6904","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\/883"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/python\/wp-json\/wp\/v2\/comments?post=6904"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/python\/wp-json\/wp\/v2\/posts\/6904\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/python\/wp-json\/wp\/v2\/media\/6908"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/python\/wp-json\/wp\/v2\/media?parent=6904"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/python\/wp-json\/wp\/v2\/categories?post=6904"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/python\/wp-json\/wp\/v2\/tags?post=6904"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}