ElioStruyf GitHub Star | M365 Development, Developer Technologies MVP | Google Developer Expert Azure | Microsoft 365 | Visual Studio Code | End-to-End Testing

Along with acting as VP of BIWUG (Belgian Information Worker User Group), Elio is an independent contractor for his own consulting company, Struyf Consulting.

Adding editor actions for your extension webview in Visual Studio Code

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

Open your Visual Studio Code extension walkthrough from a command

A great feature that allows your users to get familiar with your extension is the ability for you to create walkthroughs. Show image Walkthrough experience The welcome experience can be seen or opened from the start experience in VS Code. Show image 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

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

Adding or deleting GitHub project (classic) labels on issues

important This approach makes use of GitHub classic projects and are being discontinued. The approach will not work for new Projects as they require you to use the webhook functionality in order to create Project Item triggers. Since projects got added to GitHub, I started using it more and more.

Read more

How to callback to your extension from outside Visual Studio Code

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
Back to top