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 for Converge360.

comments powered by Disqus

Featured

  • VS Code Java Team Details 5 Best Dev Practices

    Microsoft's Visual Studio Code team for Java development added a new Coding Pack for Java installer and detailed best practices for setting up a development environment.

  • Binary Classification Using PyTorch: Defining a Network

    Dr. James McCaffrey of Microsoft Research tackles how to define a network in the second of a series of four articles that present a complete end-to-end production-quality example of binary classification using a PyTorch neural network, including a full Python code sample and data files.

  • Blazor Debugging Boosted in .NET 5 RC 2

    In highlighting updates to ASP.NET Core in the just-launched second and final Release Candidate of .NET 5, Microsoft pointed out better debugging for Blazor, the red-hot project that allows for C# coding of web projects.

  • Block Stack

    Final Go-Live .NET 5 Release Candidate Ships Ahead of Nov. 10 Debut

    Having been deemed "feature complete" and "near final" and "go live" for some time now, .NET 5 is out in a second and final Release Candidate, scheduled for a Nov. 10 debut during .NET Conf 2020.

  • Edge Browser Dev Tools for VS Code Now Generally Available

    Microsoft has moved its Edge browser development tools for Visual Studio Code from preview to general availability, providing in-editor web site debugging and other functionality.

Upcoming Events