Publishing OntoCode to the VS Code Marketplace¶
OntoCode is on the VS Code Marketplace. This checklist is for maintainers publishing new versions.
Prerequisites¶
- Visual Studio Marketplace publisher account (
ontocodepublisher id inextension/package.json) - Personal Access Token with Marketplace Manage scope
vsceinstalled (npm i -g @vscode/vsceor use project devDependency)- Multi-platform release VSIX built by release workflow on GitHub
Pre-publish checks¶
- Version bumped in
extension/package.jsonand rootCargo.tomlworkspace version - CHANGELOG.md on GitHub updated
- extension/README.md on GitHub and docs/vscode-install.md mention Marketplace install and current version
- User docs synced per releasing.md checklist
npm testandcargo test --workspacepass- Screenshot or preview image in README (see
docs/media/explorer-preview.png)
Publish command¶
cd extension
npm ci && npm run compile
npx vsce publish --no-dependencies
For a one-off VSIX without publishing:
npx vsce package --no-dependencies
After publish¶
- Update root README Choose your path → VS Code to link Marketplace listing first, VSIX as fallback
- Add Marketplace badge to README
- Tag release and attach VSIX for users who prefer offline install
Token handling¶
Store VSCE_PAT or AZURE_DEVOPS_EXT_PAT in CI secrets only; never commit tokens.