Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>opencode chatNew to Visual Studio Code? Get it now.
opencode chat

opencode chat

Keith Wickramasekara

|
14,704 installs
| (4) | Free
opencode chat extension for local and remote VS Code workspaces
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

opencode chat

Unofficial extension that integrates the webview of opencode chat into your IDE.

Preview

Please note: This extension used to be published under kwickramasekara.opencode-chat but was renamed to kwickramasekara.opencode-chat-unofficial to avoid confusion with another extension with the same name.

Features

  • Sidebar Integration: Access the OpenCode chat interface directly from your VS Code activity bar.
  • Add to Chat Commands: Easily add files to the chat context by right-clicking in the explorer or using the editor title bar context menu. Select code in the editor and right-click to send a precise code reference (e.g. src/index.js:12:5-22) directly to the prompt.
  • Seamless Clipboard Support: Overcomes typical webview iframe limitations to provide full copy, cut, and paste functionality (including image pasting) within the chat.
  • Persistent Sessions: Saves your session, port, and user preferences across VS Code restarts.
  • Local Network Access: Enable the opencode.exposeToNetwork setting to access the same opencode instance from your mobile device or any other device on the same network at http://opencode.local:<port>.
  • Remote Workspace Support: Runs in the workspace extension host and routes the webview through VS Code's remote port forwarding, so SSH, Dev Containers, WSL, and Codespaces can load the chat from the remote machine.

Note: requires the opencode CLI to be installed where the workspace runs. For Remote SSH, Dev Containers, WSL, and Codespaces, install opencode in the remote environment, not only on your local machine. See https://opencode.ai/

Development

  1. Run npm install
  2. Run npm run watch (or npm run compile)
  3. Open the repository in VS Code and press F5 to open a new VS Code window with the extension loaded.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft