Skip to content

Instantly share code, notes, and snippets.

@sroecker
Last active January 22, 2024 09:11
Show Gist options
  • Save sroecker/a673776120ca444eabb497f5c8ddd582 to your computer and use it in GitHub Desktop.
Save sroecker/a673776120ca444eabb497f5c8ddd582 to your computer and use it in GitHub Desktop.
How To Build the Continue.dev VSCode Extension for Red Hat Dev Spaces
#!/bin/bash
git clone https://github.com/continuedev/continue
npm config set prefix ~/.local
sh continue/install-dependencies.sh
cd continue/extensions/vscode
node scripts/prepackage.js
npm install @vscode/vsce
PATH=$PATH:~/.local/bin/
npm install yarn
node scripts/package.js
@sroecker
Copy link
Author

sroecker commented Jan 15, 2024

Run this script in your DevSpaces terminal, afterwards you'll find the vsix file in build/continue-patch.vsix
which you can install via the VS Code file explorer. Right click and select "Install Extension VSIX" at the bottom of the context menu.

@sroecker
Copy link
Author

A prebuilt vsix file can be found at https://github.com/sroecker/continue/blob/build_devspaces_extension/extensions/vscode/build/continue-patch.vsix
(based on commit 5b56150a8dc8345422f75107c899d31b87417d65)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment