News

Super-Popular VS Code Python Tool Gets Update

The Python Extension for Visual Studio Code -- installed more than 9.3 million times -- has received an update that closes some 70 issues.

Among those called out for special attention in the June 2019 release announcement is a plot viewer for the Python Interactive window.

"Plots are commonly used for data visualization," said Luciana de Melo e Abud, program manager for the Python tool. "One of the top requested features for the Python Interactive window is to enable deeper inspection of the generated plots, e.g. zooming, panning, and exporting images. The June 2019 update included a brand-new Plot Viewer that can be used to manipulate any image plots, such as the popular matplotlib plots."

When enacted by a plot double-click or a hover button click in the interactive window, developers can pan, zoom in and out, and navigate through plots, with the option to export plots to PDF, SVG or PNG image formats.

The June 2019 release also enhanced the functionality of parallel tests done with pytest, affecting the reliability of displayed statistics.

Another improvement is indentation of run selection in the terminal: "A highly requested VS Code Python feature on our GitHub repository was to dedent code selections before sending it to the terminal when running the "Run Selection/Line in Python Terminal" command. Starting in this release, the command will send to the terminal a de-indentation of the selection, based on its first non-empty line."

That GitHub repository changelog lists 20 enhancements, 40 fixes and 13 items under "code health" for the 2019.6.0 release.

Among those, items called out for special attention by the program manager include:

  • Allow password for remote authentication with jupyter. (#3624)
  • Data Viewer now properly handles large data frames and supports filtering with expressions on numeric columns (greater than, less than, equals to) (#5469)
  • Show preview of imported notebook in the Python Interactive window. (#5675)
  • Add support for sub process debugging, when debugging tests. (#4525)
  • Added support for activation of conda environments in powershell. (#668)
  • Add 'ctrl+enter' as a keyboard shortcut for run current cell. (#5673)

The Python tool, featured in the VS Code marketplace, has been downloaded nearly 57.8 million times, earning an average 4.5 rating from 253 developers who reviewed it.

About the Author

David Ramel is an editor and writer at Converge 360.

comments powered by Disqus

Featured

  • Compare New GitHub Copilot Free Plan for Visual Studio/VS Code to Paid Plans

    The free plan restricts the number of completions, chat requests and access to AI models, being suitable for occasional users and small projects.

  • Diving Deep into .NET MAUI

    Ever since someone figured out that fiddling bits results in source code, developers have sought one codebase for all types of apps on all platforms, with Microsoft's latest attempt to further that effort being .NET MAUI.

  • Copilot AI Boosts Abound in New VS Code v1.96

    Microsoft improved on its new "Copilot Edit" functionality in the latest release of Visual Studio Code, v1.96, its open-source based code editor that has become the most popular in the world according to many surveys.

  • AdaBoost Regression Using C#

    Dr. James McCaffrey from Microsoft Research presents a complete end-to-end demonstration of the AdaBoost.R2 algorithm for regression problems (where the goal is to predict a single numeric value). The implementation follows the original source research paper closely, so you can use it as a guide for customization for specific scenarios.

  • Versioning and Documenting ASP.NET Core Services

    Building an API with ASP.NET Core is only half the job. If your API is going to live more than one release cycle, you're going to need to version it. If you have other people building clients for it, you're going to need to document it.

Subscribe on YouTube