News

VS Code Update Adds Python Tutorials

The Visual Studio Code dev team added new Python tutorials as part of the regular monthly update, this one for March 2020, bringing the open-source, cross-platform code editor to version 1.44.

Python is huge among VS Code developers. The Python extension dominates the available tools in the VS Code Marketplace, where it has been downloaded more than 18.5 million times, almost 8 million more than the second-most popular extension.

Continuing its years long effort to serve that vast audience, the team introduced two new tutorials:

The team also threw the C++ crowd some love, rewriting the C++ extension tutorials and adding a new one: Using C++ on Linux.

Other extensions that received attention help out with remote development, something particularly germane in the age of COVID-19. The remote development extensions let developers set up full-featured development environments via containers, remote machines, or the Windows Subsystem for Linux (WSL).

Remote development enhancements let developers directly check out Pull Requests into containers and boost support for Kubernetes.

Specifically, improvements to remote development with containers include:

  • Check out a PR directly into a container.
  • Kubernetes container attach support.
  • Experimental WSL2 Docker engine support.

More information on remote development is available in the release notes.

Other highlights of the release as summarized by the team include:

  • Accessibility improvements - Easier diff view navigation, clearer role designations for UI controls.
  • Timeline view - See time-series events like Git commit history from within VS Code: "The Timeline view is now out of preview and enabled by default. This is a unified view for visualizing time-series events (for example, Git commits, file saves, test runs, etc.) for a file."
  • Better Quick Open for files - Navigate smoothly from files to symbols, filter files by folder name: "The Quick Open (Ctrl+P) control was using an old version of our tree widget, and in this iteration, it was migrated to use our latest list control, already used in the rest of the VS Code UI. Functionally, you should not be able to tell the difference, as all commands will work as before."
  • Extension Pack display - Quickly see what is bundled in an Extension Pack: "To identify Extension Packs in the Extensions view, there is now a number badge that shows the number of extensions included in the Extension Pack." Also the Extension details page displays all extensions bundled in an Extension Pack, as shown here:
  • Improved Extension Pack Display
    [Click on image for larger view.] Improved Extension Pack Display (source: Microsoft).
  • Persisted Undo/Redo stack - Undo/Redo stack preserved for reopened files: "VS Code will now keep the Undo/Redo stack of a file when the file is closed. When the file is reopened, if its contents hasn't changed since it was closed, the Undo/Redo stack will be restored."
  • Settings Sync preview - Settings Sync now lets you share snippets and UI state across machines: "We have been working the last couple of months to support synchronizing VS Code settings, extensions, and keyboard shortcuts across machines and this feature is available for preview on the Insiders release. In this milestone, we added synchronizing User Snippets and more UI State."

See the announcement post for more improvements concerning debugging, the integrated terminal, languages, tasks, notable fixes and more.

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