Share via


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

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

Business value

A year ago, you got the power to open a Visual Studio Code project from within the web client. This feature removes the hassle of creating projects so you can launch configurations and download symbols yourself. It's a great tool for exploring functionality and troubleshooting in sandboxes or production environments. It empowers support teams, consultants, and developers. However, what if IP resource exposure protection blocks access to the extension code but your GitHub repo holds the source? Or, what if you want to author your own code by hotfixing one of your apps or pulling the latest source version for changes and development? In 2024 release wave 2, you can do all that.

Feature details

In this release, we improved the Explore in Visual Studio Code feature by using the source and build metadata in an extension manifest to pull source from the related GitHub repository and from a specific build. With this feature, you can navigate code for extensions when you have source access. You can also hotfix a build or sync to get the latest changes for investigation or development.

From the Extension Management list page, you can select the 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.

When you select that option, Visual Studio Code opens and asks whether to clone or open the GitHub repo for the extension. Visual Studio Code uses the repo metadata that the extension includes when it's built.

Option to clone or open a GitHub repo.

For more information about source and build metadata in the app.json file, see:

Geographic areas

Visit the Explore Feature Geography report for Microsoft Azure areas where this feature is planned or available.

Language availability

Visit the Explore Feature Language report for information on this feature's availability.

Additional resources

Open source code in Visual Studio Code (docs)