Reputation: 51
I use a extension on VSCODE Market, but i think that it does not meet my needs.I want to customize it.
But, i have been confused for publishing npm package to VSCODE market. Who can tell me more details?
I had been PHPER, i had been publishd some packages to Composer.
Upvotes: 5
Views: 5085
Reputation: 2368
npm install -g vsce
User Settings
icon to the left of the avatar,name
is your extension name (kebab case),Organization
must select All accessible organizations
, otherwise throw "Error: Failed Request: Unauthorized(401)";Scopes
→ Show all scopes
→ "Marketplace" select Acquire
+Publish
, create...vsce create-publisher YOUR-PUBLISH-NAME
,vsce publish -p YOUR-YOKEN
,vsce login YOUR-PUBLISH-NAME
, paste 'token', and run vsce publish -p YOUR-YOKEN
.The token can be regenerated on the management platform, step 7.
3/16/2022
vsce -h
do more thing :)Upvotes: 9
Reputation: 10924
The official site got you covered on publishing extensions, the whole process is very well documented here: https://code.visualstudio.com/docs/extensions/publish-extension
Upvotes: 2