npm install
- Inside VS Code press
F5
to open a new window with the extension loaded. - Set breakpoints in your code to debug the extension.
- Find output from the extension in the debug console.
- You can relaunch the extension from the debug toolbar after changing code.
- You can also reload (
Ctrl+R
orCmd+R
on Mac) the VS Code window with the extension to load your changes.
- You can open the full set of our API when you open the file
node_modules/@types/vscode/index.d.ts
.
Bump the package version and generate a changelog:
npm version …
Publish the new version with vsce:
npx @vscode/vsce@latest publish
See npm version docs for all available arguments.