Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>OpenCode VSNew to Visual Studio Code? Get it now.
OpenCode VS

OpenCode VS

Rajendra Rana

|
11 installs
| (0) | Free
Copilot-style GUI for opencode AI assistant
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

opencodeVS

A full-featured VS Code extension that wraps opencode — giving users a Copilot-style GUI inside VS Code powered by the opencode server API.

Prerequisites

  • Node.js 18+
  • VS Code 1.85+

Install from Marketplace

Search for "OpenCode" in the VS Code extensions marketplace and install.

Install from Source

  1. Clone the repository
  2. Run npm install at the root
  3. Open the project in VS Code
  4. Press F5 to launch a new Extension Development Host window

Features

  • 🤖 Chat Panel — Conversational AI assistant in your sidebar
  • 💬 Session Management — Create, manage, and switch between conversations
  • 📝 Code Selection — Add code selections to chat context
  • 📁 File References — Reference files in your workspace
  • 🔍 Diff Viewer — View and accept/reject AI file changes
  • 🔑 Multi-Provider — Anthropic, OpenAI, Google, and more
  • ⚙️ Settings UI — Visual configuration editor
  • 📊 Status Bar — Server status and model indicator
  • 🔒 Secure Storage — API keys stored via VS Code SecretStorage
  • 🚀 Auto Setup — First-run wizard for installation and configuration

Building

# Build webview
cd packages/webview && npm run build

# Compile extension
cd packages/extension && npm run compile

# Package vsix
cd packages/extension && npm run package

Development

  • Press F5 in VS Code to launch the extension in debug mode
  • The webview runs on Vite dev server during development
  • Extension host connects to opencode server on http://127.0.0.1:4096

Contributing

Contributions are welcome! Please open an issue or PR on GitHub.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft