- Clone repo. Open in VSCode.
- Install "nvm".
nvm install
andnvm use
. This will install and use the version of Node.js specified in the.nvmrc
file.nvm
quirk: You must runnvm use
every time you open a new terminal window, or addnvm use
to your shell profile.
- Check installed/activated version:
node --version
should show the same version as in.nvmrc
. npm install
- Open the
src/extensions.ts
file. - Press F5 in VSCode to launch the extension in the VSCode Extension Development Host.
- Update the version number in
package.json
. - Package all release versions:
./package.sh
- Publish the release to the VSCode Marketplace:
vsce publish --packagePath dist/*.vsix
- Add a GitHub Release, attaching the build products (
dist/*.vsix
).