News

VS Code Python Tool Adds Variable Explorer, Data Viewer

The latest monthly update to the Python extension for Visual Studio Code makes it easier for developers to keep track of variables and their data when working with the ever-popular programming language in the ever-popular open source code editor.

The Python extension, available in the Visual Studio Code Marketplace, just passed 8 million installations, making it by far the most popular extension for the cross-platform VS Code editor that has come to be named the most popular dev tool in at least one major survey.

The open source extension project gets new functionality on a monthly cadence, with the April 2019 edition seeing several improvements and closing 84 issues.

Among the improvements, Luciana de Melo e Abud, program manager, highlighted the new variable explorer functionality in an announcement post.

"The Python Interactive experience now comes with a built-in variable explorer along with a data viewer, a highly requested feature from our users," de Melo e Abud said. "Now you can easily view, inspect and filter the variables in your application, including lists, NumPy arrays, pandas data frames, and more!

"A variables section will now be shown when running code and cells in the Python Interactive window. Once you expand it, you'll see the list of the variables in the current Jupyter session. More variables will show up automatically as they get used in the code. Clicking on each column header will sort the variables in the table."

Inspecting the data being held by a variable can be done with a double-click on a row of the variable list, or by clicking a "Show variable in data viewer" button.

Another tweak simplifies the process of configuring the debugger for individual workspaces.

The new release also features improvements to the Python Language Server, which implements the Language Server Protocol in order to serve up language-specific features such as auto completion, go to definition, find all references and so on.

About the Author

David Ramel is an editor and writer for Converge360.

comments powered by Disqus

Featured

  • .NET Core Ranks High Among Frameworks in New Dev Survey

    .NET Core placed high in a web-dominated ranking of development frameworks published by CodinGame, which provides a tech hiring platform.

  • Here's a One-Stop Shop for .NET 5 Improvements

    Culled from reams of Microsoft documentation, here's a high-level summary of what's new for performance, networking, diagnostics and more, along with links to the nitty-gritty details for those wanting to dig in more.

  • Azure SQL Database Ranked Among Top 3 Databases of 2020

    Microsoft touted the inclusion of Azure SQL Database among the top three databases of 2020 in a popularity ranking by DB-Engines, which collects and manages information about database management systems, updating its lists monthly.

  • Time Tracker Says VS Code Is No. 1 Editor for Devs, Some Working 15+ Hours Per Day

    WakaTime, which does time tracking for programmers, released data for 2020 showing that Visual Studio Code is by far the top editor/IDE used by its coders, some of whom are hacking away for more than 15 hours per day.

Upcoming Events