{"id":7265,"date":"2019-05-28T13:57:10","date_gmt":"2019-05-28T21:57:10","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/python\/?p=7265"},"modified":"2020-06-03T10:53:33","modified_gmt":"2020-06-03T18:53:33","slug":"python-in-visual-studio-code-may-2019-release","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/python\/python-in-visual-studio-code-may-2019-release\/","title":{"rendered":"Python in Visual Studio Code \u2013 May 2019 Release"},"content":{"rendered":"<p>We are pleased to announce that the May 2019 release of the Python Extension for Visual Studio Code is now available. You can\u00a0<a href=\"https:\/\/marketplace.visualstudio.com\/items?itemName=ms-python.python\">download the Python extension<\/a>\u00a0from the Marketplace, or install it directly from the extension gallery in Visual Studio Code. You can learn more about\u00a0<a href=\"https:\/\/code.visualstudio.com\/docs\/python\/python-tutorial\">Python support in Visual Studio Code<\/a>\u00a0in the documentation.<\/p>\n<p>In this release we made improvements that are listed in our\u00a0<a href=\"https:\/\/github.com\/Microsoft\/vscode-python\/blob\/master\/CHANGELOG.md\">changelog<\/a>, closing a total of 42 issues including IntelliSense in the Python Interactive Window and additional improvements to the Python Language Server.<\/p>\n<h2>IntelliSense in the Python Interactive Window<\/h2>\n<p>The Python Interactive window, our built-in IPython Console, is now enhanced with full-fledged IntelliSense \u2013 code completion, member lists, quick info for methods, and parameter hints! Now, you can be just as productive typing in the Python Interactive window as you would in the code editor.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-7267\" src=\"https:\/\/devblogs.microsoft.com\/python\/wp-content\/uploads\/sites\/12\/2019\/05\/May2019-IntelliSenseiPython-1.gif\" alt=\"\" width=\"2886\" height=\"1791\" \/><\/p>\n<h2>Additional improvements to the Python Language Server<\/h2>\n<p>This release includes bug fixes and enhancements to the \u201cFind All References \u201c and \u201dGo to Definition\u201d features, such as handling of relative imports. We also made continued improvements to the Python Language Server&#8217;s loading time, CPU and memory usage. We\u2019re working hard on decreasing memory consumption, so if you run into problems, please provide more details on the <a href=\"https:\/\/github.com\/Microsoft\/python-language-server\">Python Language Server GitHub<\/a> page or directly on the <a href=\"https:\/\/github.com\/Microsoft\/python-language-server\/issues\/832\">&#8220;high memory usage&#8221; issue<\/a> page.<\/p>\n<p>As a reminder, to opt into the Language Server, change the <strong>python.jediEnabled<\/strong> setting to <strong>false<\/strong> in <strong>File &gt; Preferences &gt; User Settings<\/strong>. We are working towards making the language server the default in the next few releases.<\/p>\n<h2>In case you missed it: Remote Development<\/h2>\n<p><span style=\"font-size: 12.0pt; line-height: 107%; font-family: 'Segoe UI',sans-serif;\">On May 2<sup>nd<\/sup> the Microsoft\u2019s Python and Visual Studio Code teams announced the Remote Development extensions for Visual Studio Code, which allows developers to run, setup and develop their projects inside docker containers, remote SSH hosts and Windows Subsystem for Linux (WSL). It&#8217;s all running remotely: <span style=\"font-family: Arimo,Helvetica Neue,Arial,sans-serif;\">a<\/span><\/span>uto-completions, debugging, terminal, source control, additional extensions you install and more, but you get the same experience as if it was running locally.<\/p>\n<p><span style=\"font-size: 12.0pt; line-height: 107%; font-family: 'Segoe UI',sans-serif;\">Check out the <a href=\"https:\/\/devblogs.microsoft.com\/python\/remote-python-development-in-visual-studio-code\">Remote Python Development in Visual Studio Code blog post<\/a> to learn more and get started!<\/span><\/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. Some notable changes include:<\/p>\n<ul>\n<li>Allow column sorting in variable explorer (<a href=\"https:\/\/github.com\/Microsoft\/vscode-python\/issues\/5281\">#5281<\/a>)<\/li>\n<li>Use the correct activation script for conda environments (<a href=\"https:\/\/github.com\/Microsoft\/vscode-python\/issues\/4402\">#4402<\/a>)<\/li>\n<li>Always show pytest&#8217;s output when it fails. (<a href=\"https:\/\/github.com\/Microsoft\/vscode-python\/issues\/5313\">#5313<\/a>)<\/li>\n<li>Fix performance issues with long collections and variable explorer (<a href=\"https:\/\/github.com\/Microsoft\/vscode-python\/issues\/5511\">#5511<\/a>)<\/li>\n<li>Update ptvsd to <a href=\"https:\/\/github.com\/Microsoft\/ptvsd\/releases\/tag\/v4.2.10\">4.2.10<\/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","protected":false},"excerpt":{"rendered":"<p>We are pleased to announce that the May 2019 release of the Python Extension for Visual Studio Code is now available. In this release we closed a total of 42 issues including IntelliSense in the Python Interactive Window and additional improvements to the Python Language Server.  Check out the full list of improvements in our changelog.<\/p>\n","protected":false},"author":1064,"featured_media":7267,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1,6],"tags":[],"class_list":["post-7265","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-python","category-visual-studio-code"],"acf":[],"blog_post_summary":"<p>We are pleased to announce that the May 2019 release of the Python Extension for Visual Studio Code is now available. In this release we closed a total of 42 issues including IntelliSense in the Python Interactive Window and additional improvements to the Python Language Server.  Check out the full list of improvements in our changelog.<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/python\/wp-json\/wp\/v2\/posts\/7265","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\/1064"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/python\/wp-json\/wp\/v2\/comments?post=7265"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/python\/wp-json\/wp\/v2\/posts\/7265\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/python\/wp-json\/wp\/v2\/media\/7267"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/python\/wp-json\/wp\/v2\/media?parent=7265"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/python\/wp-json\/wp\/v2\/categories?post=7265"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/python\/wp-json\/wp\/v2\/tags?post=7265"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}