Bincode VS Code Extension
A Visual Studio Code extension that integrates bincode into your development workflow.
Prerequisites
This extension requires the bincode CLI.
Install with:
npm i -g bincode
For docs and onboarding, see https://bincode.ai.
How It Works
- The extension launches
bincode --port <port> in a VS Code terminal.
- Authentication is handled by Bincode CLI login/signup flow.
- Editor context is injected into the running session via local server APIs.
Features
- Quick Launch:
Cmd+Esc (Mac) or Ctrl+Esc (Windows/Linux) opens Bincode in split terminal view, or focuses an existing Bincode terminal.
- New Session:
Cmd+Shift+Esc (Mac) or Ctrl+Shift+Esc (Windows/Linux) always opens Bincode in a new tab.
- Context Awareness: Shares your current file and line selection with Bincode.
- File Reference Shortcut:
Cmd+Option+K (Mac) or Ctrl+Alt+K (Windows/Linux) inserts file references like @path/to/file#L10-20.
Troubleshooting
- Bincode CLI not found:
Install CLI first with
npm i -g bincode, then retry from VS Code.
- Login not completing:
Complete the browser login flow opened by CLI. If it times out, re-run the extension command to start a fresh session.
- Port conflict/session not connecting:
Retry opening Bincode in a new tab (
Cmd+Shift+Esc) to use a new random local port.
Support
If you encounter issues or have feedback, open an issue in this repository or visit https://bincode.ai.
Development
code sdks/vscode - Open only the sdks/vscode directory in VS Code.
bun install - Run inside sdks/vscode.
- Press
F5 to launch an Extension Development Host window.
To test edits quickly:
- In the Extension Development Host, press
Cmd+Shift+P.
- Run
Developer: Reload Window.
| |