Pull extension source from GitHub when opening Visual Studio Code from web client

Important

Some of the functionality described in this release plan has not been released. Delivery timelines may change and projected functionality may not be released (see Microsoft policy). Learn more: What's new and planned

Enabled for Public preview General availability
Admins, makers, marketers, or analysts, automatically Oct 2024 Oct 2024

Business value

A year ago, you got the power to open a Visual Studio Code project from within the web client. This removed the hassle of creating projects so you could launch configurations and download symbols yourself. This is a great tool for exploring functionality and troubleshooting, whether it's in sandboxes or production, and it empowers support, consultants, and developers. However, what if access to the extension code is blocked by IP resource exposure protection, but the source is in your GitHub repo? Or maybe you want to proceed with authoring your own code, such as hotfixing one of your apps or pulling the latest source version for changes or development? In 2024 release wave 2, this feature will make that possible.

Feature details

In this release, we're building on the recent "Explore in Visual Studio Code" feature by using the source and build metadata in the manifest of an extension to offer pulling source from the related GitHub repository and from a specific build. This allows navigating code for the extensions that you have source access to and allows you to hotfix a given build or sync to get the latest changes for investigation or development.

From the Extension Management list page, you now have a new Open Source in VS Code option in the context menu for an extension.

New Open Source in Visual Studio Code on an extension in the Extension Management page.

If you invoke that, Visual Studio Code will open and ask you whether to clone or open the GitHub repo for the extension. It will use the repo metadata that was included in the extension when it was built.

Option to clone or open a GitHub repo.

You can read more about the source and build metadata in the app.json file here: