Extensions

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

#DevHack: VS Code extension storage options

February 22, 2022

For Front Matter and another VS Code extension which is currently in development, I wanted to understand which options there are for storing data. Data can be anything, for some extensions, it will be settings, for others, it is more complicated sets of data. In this article, I will give you an overview of all the available storage options and when to use them.

Read more

A code-driven approach to theme your VS Code webview

January 31, 2022

When it comes to theming the webview’s content of your Visual Studio Code extensions, the proposed way by the Visual Studio Code team is to use the provided CSS variables from the current theme. Although, in some cases, you want a bit more control, or make sure it matches what you want to achieve.

Read more

Use React in your VSCode WebView with hot module replacement

December 17, 2021

For Front Matter and another extension, I am currently developing. I use the Visual Studio Code WebView API heavily as it provides fully customizable views for your panels or tabs. It allows any company and developer to create their own unique experiences. One of the things I did for a long time was manually hitting the refresh button each time I updated the code.

Read more