VSCode

Open your Visual Studio Code extension walkthrough from a command

July 25, 2022

A great feature that allows your users to get familiar with your extension is the ability for you to create walkthroughs. Walkthrough experience The welcome experience can be seen or opened from the start experience in VS Code. VS Code - Get started But how do you get to the welcome experience when you close the start page?

Read more

Opening folders in Visual Studio Code from an extension

June 2, 2022

I used the vscode.openFolder command in one of my extensions, one of the built-in commands that is available. The command can be combined with a URI argument to open the folder or workspace. While testing it out, the command worked fine on macOS and Linux but gave issues on Windows paths.

Read more

How to callback to your extension from outside Visual Studio Code

May 5, 2022

While creating the authentication provider, I discovered a helpful handler in the Visual Studio Code API, which allows you to handle system-wide URIs and callback into your extension. In the case of the authentication provider, I use it to retrieve the token that gets passed from the callback, but you can use the registerUriHandler for many more scenarios.

Read more

Create an Authentication Provider for Visual Studio Code

April 28, 2022

Previously I wrote how you could use the Microsoft Authentication Provider in your Visual Studio Code extension to custom Azure AD applications. In this article, we go a step further and create our authentication provider from scratch. As By default, VS Code supports the github, github-enterprise, and microsoft authentication providers. If you use another service or have your authentication service, you will likely want to create your Authentication Provider.

Read more

How to use the Microsoft authentication provider in Visual Studio Code

April 27, 2022

While creating a custom authentication provider, I found out the standard Microsoft authentication provider in Visual Studio Code can be used with your Azure AD Apps and Tenants. By default, VS Code supports the github, github-enterprise, and microsoft authentication providers, but little documentation is available, mostly coming from the issues in the VS Code repo.

Read more