This guide will help you publish the ULW extension to both the VS Code Marketplace and the OpenVSX Registry.
- VS Code Marketplace: The official Microsoft marketplace for VS Code.
- OpenVSX Registry: An open-source alternative used by VSCodium, Eclipse Theia, Gitpod, etc.
The most reliable way to publish is using the built-in GitHub Actions workflow. This automatically publishes to both marketplaces whenever a new version tag is pushed.
You must add the following secrets to your GitHub repository (Settings → Secrets and variables → Actions):
| Secret Name | Purpose | Where to Get |
|---|---|---|
VSCE_PAT |
VS Code Marketplace Token | Azure DevOps |
OVSX_TOKEN |
OpenVSX Registry Token | OpenVSX Profile |
- Go to Azure DevOps.
- Create a PAT with Marketplace: Manage scope (detailed in Manual Step 2 below).
- Sign in to OpenVSX Registry using GitHub/GitLab.
- Go to your profile settings.
- Generate and copy a new access token.
To publish a new version (e.g., 1.12.4):
# Update version in package.json and create tag
npm version 1.12.4
# Push the tag to GitHub
git push origin v1.12.4The workflow at .github/workflows/publish.yml will automatically build, package, and publish the extension to both marketplaces.
- Go to https://marketplace.visualstudio.com/manage
- Sign in with your Microsoft account
- If you don't have a publisher named "islee23520":
- Click "Create publisher"
- Fill in:
- Publisher ID:
islee23520(must match package.json) - Display Name: Your display name
- Email: Your email address
- Publisher ID:
- Go to https://dev.azure.com
- Sign in with the same Microsoft account
- Click your profile icon (top right) → Personal access tokens
- Click "+ New Token"
- Configure the token:
- Name:
VS Code Extensions Publishing - Organization: All accessible organizations
- Expiration: Custom (recommended: 1 year)
- Scopes:
- Click "Show all scopes"
- Expand "Marketplace"
- Check "Manage" ✓
- Name:
- Click "Create"
⚠️ IMPORTANT: Copy the token immediately (you won't see it again!)
Open terminal in the project directory and run:
npx @vscode/vsce login islee23520When prompted, paste your Personal Access Token.
npx @vscode/vsce publish# Patch version (1.12.3 -> 1.12.4)
npx @vscode/vsce publish patch
# Minor version (1.12.3 -> 1.13.0)
npx @vscode/vsce publish minor
# Major version (1.12.3 -> 2.0.0)
npx @vscode/vsce publish major- Wait 5-10 minutes for marketplace indexing
- Visit: https://marketplace.visualstudio.com/items?itemName=islee23520.opencode-sidebar-tui
- Search in VS Code: "ULW"
If you need to publish to OpenVSX manually:
- Visit open-vsx.org and sign in (GitHub/GitLab/Google).
- Go to your Profile → Settings.
- Generate a new Access Token.
npm install -g ovsxovsx publish -p YOUR_OVSX_TOKENVisit: https://open-vsx.org/extension/islee23520/opencode-sidebar-tui
Current Status: 🚢 Ready for automated publishing Current Version: 1.12.3
- ✅ Extension built and packaged
- ✅ Version: 1.12.3
- ✅ Publisher: islee23520
- ✅ Repository: https://github.com/islee23520/ulwcode.git
- ✅ License: MIT
- ✅ README: Comprehensive documentation
- Ensure you created the publisher "islee23520" in Step 1
- Verify the publisher ID matches package.json exactly
- Generate a new token with "Marketplace: Manage" scope
- Ensure the token hasn't expired
- Make sure you're using the same Microsoft account
- Use
--skip-duplicateflag - Or increment version:
vsce publish patch
- Run with sudo:
sudo npx @vscode/vsce publish - Or fix npm permissions: https://docs.npmjs.com/resolving-eacces-permissions-errors-when-installing-packages-globally
After initial publication, update the extension with:
# Update code, then:
npx @vscode/vsce publish patch # For bug fixes
npx @vscode/vsce publish minor # For new features
npx @vscode/vsce publish major # For breaking changes# Show what will be published
npx @vscode/vsce ls
# Package without publishing
npx @vscode/vsce package
# Show publisher info
npx @vscode/vsce show islee23520.opencode-sidebar-tui
# Unpublish (use carefully!)
npx @vscode/vsce unpublish islee23520.opencode-sidebar-tui- Marketplace Publisher Portal: https://marketplace.visualstudio.com/manage
- VS Code Publishing Docs: https://code.visualstudio.com/api/working-with-extensions/publishing-extension
- Azure DevOps: https://dev.azure.com
Ready to publish? Follow Steps 1-4 above, then run npx @vscode/vsce publish