A great feature that allows your users to get familiar with your extension is the ability for you to create walkthroughs.
The welcome experience can be seen or opened from the start experience in VS Code.
But how do you get to the welcome experience when you close the start page? Well, only by the help: get started command, but if you want, you can change this behavior.
Create a welcome experience command
Start by creating a new command for your extension:
|
|
In your extension code, register the command and use the workbench.action.openWalkthrough
command to open the walkthrough of your choice.
|
|
The second argument is the walkthrough to open. You do this by specifying: <publisher>.<extension name>#<Walkthrough ID>
.
The third argument is a boolean that defines if you want to open it in the same view (false
) or split view (true
).
Once implemented, you can execute your custom welcome command.
This should result in opening the view: