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 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