- Microsoft Account: You need a Microsoft account to create a publisher
- Azure DevOps Account: Create one at https://dev.azure.com
- Personal Access Token (PAT): Required for publishing
- Go to https://marketplace.visualstudio.com/manage
- Sign in with your Microsoft account
- Click Create publisher
- Fill in the details:
- Publisher ID:
wasted-potential-studios(must match package.json) - Display Name:
Wasted Potential Studios - Description: Your studio description
- Publisher ID:
- Click Create
- Go to https://dev.azure.com
- Click your profile icon (top right) → Personal access tokens
- Click + New Token
- Fill in:
- Name:
vscode-marketplace - Organization: All accessible organizations
- Expiration: Set to your preference
- Scopes: Click "Show all scopes" and select:
- ✅ Marketplace → Manage (this is required!)
- Name:
- Click Create
- COPY THE TOKEN (you can't see it again!)
Open terminal and run:
vsce login wasted-potential-studiosWhen prompted, paste your Personal Access Token.
Before publishing, make sure to:
-
Add repository URL to package.json (replace YOUR_USERNAME):
"repository": { "type": "git", "url": "https://github.com/YOUR_USERNAME/swg-stf-editor" }
-
Create an icon (128x128 PNG) named
icon.pngin the extension root -
Test the extension thoroughly in VS Code
Then publish with:
cd "c:\Users\Joseph Ridder\Documents\SWG-Source\swg-stf-editor-extension"
vsce publish- Go to https://marketplace.visualstudio.com/manage/publishers/wasted-potential-studios
- Your extension should appear in the list
- It may take a few minutes to be publicly available
- Test installation:
code --install-extension wasted-potential-studios.swg-stf-editor
When you need to publish updates:
- Update version in package.json:
vsce publish patch # 1.0.0 → 1.0.1 vsce publish minor # 1.0.0 → 1.1.0 vsce publish major # 1.0.0 → 2.0.0
Or manually:
vsce publish 1.0.1- First publication may take up to 24 hours for review
- Subsequent updates are usually instant
- Extension name must be unique in the marketplace
- Publisher name cannot be changed after creation
- Keep your PAT secure and never commit it to git
Add repository field to package.json or use --allow-missing-repository flag
Make sure publisher in package.json matches your marketplace publisher ID
Add a 128x128 PNG icon named icon.png or remove icon field from package.json
Re-run vsce login wasted-potential-studios with a fresh PAT