There are three ways to distribute CyPilot so other developers can use it:
You can distribute the compiled cypilot-0.0.4.vsix file directly. Other developers can install it manually:
- Download the
cypilot-0.0.4.vsixfile. - In VS Code, open the Extensions view (
Cmd+Shift+X). - Click the
...menu in the top-right corner of the Extensions panel. - Choose Install from VSIX... and select the file.
Tip: You can attach the
.vsixfile to your GitHub repository's Releases page so anyone visiting your repository can download and install it in one click.
Publishing to the marketplace makes CyPilot searchable directly inside the VS Code Extensions tab for everyone.
- Go to the Azure DevOps Sign-in Page and create or sign in to your Microsoft account.
- Create an Organization (e.g.,
bykosta). - Inside your organization settings, go to Personal Access Tokens (PAT).
- Click New Token and set:
- Name:
cypilot-publisher - Organization: All accessible organizations.
- Scopes: Custom defined -> Select Marketplace -> check Acquire and Manage.
- Name:
- Copy the generated Personal Access Token (PAT) immediately (you won't be able to see it again).
- Go to the Visual Studio Marketplace Publisher Management Page.
- Sign in with the same Microsoft account.
- Click Create Publisher and fill in your details:
- ID:
bykosta(this must match the"publisher": "bykosta"field inpackage.json). - Name: Your display name.
- ID:
From your terminal inside the /Users/bykosta/Projects/CyPilot directory, login and publish:
-
Login to your publisher account:
npx vsce login bykosta
Paste the Personal Access Token (PAT) you copied in Step 1 when prompted.
-
Publish the extension:
npx vsce publish
Your extension will be compiled, packaged, uploaded, and will become publicly searchable in VS Code within a few minutes!
Open VSX is an open-source alternative registry used by VSCodium, Gitpod, Eclipse Theia, and others.
- Sign in to Open VSX Registry.
- Create a Namespace matching your publisher id (
bykosta). - Generate an Access Token.
- Publish using
ovsx:npx ovsx publish cypilot-0.0.4.vsix -t <your-open-vsx-token>