News

VS Code Python Tool Offers Insiders Program

The August 2019 update of the super-popular Python extension for Visual Studio Code comes with an easy opt-in to the Insiders program (pre-release feature access), along with several tweaks, fixes and improvements.

With a quick command from the palette, developers can choose to become an Insider, which enables them to try out new features and fixes before they're officially released via automatic installations of the newest Insiders builds, either daily or weekly.

Other highlights of the new update to the VS Code Python extension -- the most-popular item in the Marketplace with more than 10 million installations and 57 million downloads -- include:

  • Jupyter Notebook cell debugging: "Now you'll be able to set up breakpoints and click on the "Debug Cell" option that is displayed at the cell definition. This will initiate a debugging session and you'll be able to step into, step out and step over your code, inspect variables and set up watches, just like you normally would when debugging Python files or applications."
  • Auto-indentation improvements: "This release also includes automatic one level dedent and indentation for a series of statements on enter such as else, elif, except, finally, break, continue, pass and raise. This was another highly requested feature from our users."
  • Improvements to the Python Language Server: "We've added new functionality to "go to definition" with the Python Language Server, which now takes you to the place in code where a variable (as an example) is actually defined. To match the previous behavior of "go to definition", we added "go to declaration"."
  • A/B feature testing: "We also started A/B testing new features. If you see something different that was not announced by the team, you may be part of the experiment! To see if you are part of an experiment, you can check the first lines in the Python extension output channel. If you wish to opt-out from A/B testing, disable telemetry in Visual Studio Code."

All of the above and much more is detailed in the changelog, which sees 76 issues closed. More information is available in the announcement post and VS Code Python documentation.

About the Author

David Ramel is an editor and writer for Converge360.

comments powered by Disqus

Featured

  • AI for GitHub Collaboration? Maybe Not So Much

    No doubt GitHub Copilot has been a boon for developers, but AI might not be the best tool for collaboration, according to developers weighing in on a recent social media post from the GitHub team.

  • Visual Studio 2022 Getting VS Code 'Command Palette' Equivalent

    As any Visual Studio Code user knows, the editor's command palette is a powerful tool for getting things done quickly, without having to navigate through menus and dialogs. Now, we learn how an equivalent is coming for Microsoft's flagship Visual Studio IDE, invoked by the same familiar Ctrl+Shift+P keyboard shortcut.

  • .NET 9 Preview 3: 'I've Been Waiting 9 Years for This API!'

    Microsoft's third preview of .NET 9 sees a lot of minor tweaks and fixes with no earth-shaking new functionality, but little things can be important to individual developers.

  • Data Anomaly Detection Using a Neural Autoencoder with C#

    Dr. James McCaffrey of Microsoft Research tackles the process of examining a set of source data to find data items that are different in some way from the majority of the source items.

  • What's New for Python, Java in Visual Studio Code

    Microsoft announced March 2024 updates to its Python and Java extensions for Visual Studio Code, the open source-based, cross-platform code editor that has repeatedly been named the No. 1 tool in major development surveys.

Subscribe on YouTube