Creating a VS Code extension

Prepare the development environment

$ yarn global add -g yo generator-code

Add the Visual Studio Code Extension Manager to package an extension.

$ yarn global add vsce

Run the code generator

$ yo code

# ? What type of extension do you want to create? New Extension (TypeScript)
# ? What's the name of your extension? HelloWorld
### Press <Enter> to choose default for all options below ###

# ? What's the identifier of your extension? helloworld
# ? What's the description of your extension? LEAVE BLANK
# ? Initialize a git repository? Yes
# ? Which package manager to use? yarn

Open generated extension

$ code ./helloworld