Visual Studio Code

Creating a reusable auth provider in Visual Studio Code

September 12, 2022

A couple of months ago, I wrote about how you could create an authentication provider for Visual Studio Code. In this article, we will take it further and make it reusable by other extensions. The reason for creating a reusable authentication provider could differ per solution. Maybe you want to make one for other extensions to leverage, or your company wants to release multiple extensions that can all use the same type of authentication.

Read more

Adding editor actions for your extension webview in Visual Studio Code

September 2, 2022

In Visual Studio Code extension development, you may need a webview to give the developer/user the best experience for using your extension/functionalities. Webviews come in different flavors. You can open them in a panel or an editor view, but there is a difference between both when it comes to showing actions or enabling/disabling commands.

Read more

Extension tip to bring Visual Studio Code to the foreground

April 1, 2022

In one of the extensions I am developing with a custom authentication provider, I required to bring the last Visual Studio Code instance to the front once signed in. When you can control the full authentication flow, you typically redirect the user to vscode://..., which triggers your browser from opening Visual Studio Code.

Read more

Easily run SharePoint Framework related tasks in Visual Studio Code

August 8, 2018

Beginning of August 2018 I released a new Visual Studio Code extension called the SPFx Task Runner. This extension lets you run your SharePoint Framework related gulp tasks by just a couple of mouse clicks. SPFx Task Runner Once you installed the extension you get a new SPFx task group in the Visual Studio Code context menu.

Read more