#extensions#vscode

How to publish vscode extension.

Saturday, Oct 22, 2022

Assuming all the other work regarding the package creation is done. To publish you have to do the following steps.

Guide

  • update package.json with version
  • commit final changes
  • git tag -a v0.0.1 -m "stable 0.0.1"
  • git push origin --tags
  • vsce package
  • vsce publish

Install vsce if required.

npm install -g vsce

Generating Personal Token

First time publishing will require the personal token for your market place. You can get it generated by following the steps from here.