How to create a VSIX - PeterWone/vscode-arduino-cli GitHub Wiki
- If you don't already have the repo then clone it to your machine.
- Load the extension project into VS Code.
- If you haven't already then
npm install --global vsce
- If you haven't already then
npm install --global gulp
- Get your dependencies using
npm i
in the extension workspace folder. - You must bump the build version in
package.json
each time you package or VS Code will install from cache instead of using your fresh bits. - Save your files. Packaging is done from the command line so this won't happen automatically.
gulp package
orvsce package
vsce package
This is faster because it does less. In particular it doesn't process the localisation. Whether that matters depends on what you changed, code or localisation strings.