Some checks failed
CI — Test & Build / Test & Build (push) Has been cancelled
- Implemented a status bar item for LexAI with dynamic status updates (ready, processing, notReady). - Created a suggestion panel for displaying and interacting with AI-generated suggestions. - Added functionality for accepting, regenerating, and discarding suggestions within the suggestion zone. - Introduced configuration options for writing style, prompt patterns, personas, and formats. - Integrated progress indicators for long-running tasks and improved user feedback. - Established TypeScript configuration for the vscode package.
3.7 KiB
3.7 KiB
LexAI for VS Code — Install & Deploy
Installable package (already built)
| Item | Value |
|---|---|
| File | packages/vscode/lexai-vscode-1.0.0.vsix |
| Extension id | JuanKibin.lexai-vscode |
| Rebuild | from repo root: npm run vscode:package |
A. Install on your machine (sideload)
VS Code
- Rebuild if needed:
npm run vscode:package(repo root). - Open VS Code → Extensions (
Ctrl+Shift+X). …menu (top of Extensions) → Install from VSIX…- Pick
packages/vscode/lexai-vscode-1.0.0.vsix. - Reload when prompted.
- LexAI: Open Settings → set provider + API key.
Cursor
Same flow: Extensions → … → Install from VSIX… → select the .vsix.
CLI (optional)
# VS Code
code --install-extension packages\vscode\lexai-vscode-1.0.0.vsix
# Cursor (if `cursor` CLI is on PATH)
cursor --install-extension packages\vscode\lexai-vscode-1.0.0.vsix
Share with teammates
Send them the .vsix file (email, Drive, Slack, release artifact). They use Install from VSIX… — no Marketplace account required.
B. Publish to the Visual Studio Marketplace (public)
So anyone can install via search: “LexAI”.
1. Create a publisher
- Go to https://marketplace.visualstudio.com/manage
(sign in with a Microsoft account). - Create a publisher whose id matches
package.json→"publisher": "JuanKibin".- The Marketplace publisher id must be exactly
JuanKibin(case-sensitive).
- The Marketplace publisher id must be exactly
- Under the publisher, create a Personal Access Token (Azure DevOps):
- Organization: all accessible / the one tied to Marketplace
- Scopes: Marketplace → Manage
- Copy the token once.
2. Login & publish
cd packages\vscode
npx vsce login JuanKibin
# paste the PAT when prompted
npm run package
npx vsce publish
# or: npx vsce publish patch # bumps 1.0.0 → 1.0.1 and publishes
"private" is false so Marketplace publish is allowed.
3. After publish
- Listing:
https://marketplace.visualstudio.com/items?itemName=JuanKibin.lexai-vscode - Users install from Extensions search, or:
code --install-extension JuanKibin.lexai-vscode
4. Version bumps
Edit version in packages/vscode/package.json (or use vsce publish patch|minor|major), rebuild/package, publish again. Keep README/DEPLOY in sync with the version you ship.
C. Optional: Open VSX (Cursor / VSCodium catalogs)
Some editors prefer Open VSX instead of (or in addition to) the Microsoft Marketplace.
- Create an account at https://open-vsx.org.
- Create an access token in your profile.
- Publish:
cd packages\vscode
npm run package
npx ovsx publish lexai-vscode-1.0.0.vsix -p <OPEN_VSX_TOKEN>
(npx ovsx uses the ovsx CLI; install once with npm i -D ovsx if you prefer.)
D. Checklist before a public release
- Manual smoke: Code Assist + one writing action + API key in Secret Storage
npm run vscode:typecheckandnpm run vscode:packagesucceed- Publisher id is yours and matches
package.json "private": falsefor Marketplace- Add
"repository"URL inpackage.jsonwhen the repo is public (clears the vsce warning) - Confirm LICENSE is correct for your org
Quick reference
| Goal | Command / action |
|---|---|
Build .vsix |
npm run vscode:package (repo root) |
| Install locally | Extensions → Install from VSIX… |
| Publish Marketplace | npx vsce login JuanKibin then npx vsce publish |
| Publish Open VSX | npx ovsx publish <file.vsix> -p <token> |