I was wondering how extensions for Visual Studio Code are created. Googling I found this.
I followed instructions there and created my first demo extension.
Step number 1 is to install with npm :
npm install -g yo generator-code
Then, generate boilerplate code
You wil see:
Check the dialog:
Then, check typescript generated code and setup in package.json
Check the simple message on the bottom
You can even debug the typescript code.