Feature hasn't been suggested before.
Describe the enhancement you want to request
Summary
I’d like OpenCode to be available as an official Visual Studio Code extension, so it can run as a native panel/side view within VS Code instead of only as a standalone terminal UI.
Problem
Right now, the typical way to use OpenCode is through a terminal. This works, but it has a few practical limitations for developers who live inside VS Code:
- Switching back and forth between the terminal and the editor breaks flow.
- The TUI doesn’t behave like a first‑class VS Code panel (e.g. resizing, layout persistence, focus, keyboard shortcuts).
- It’s harder to integrate OpenCode workflows with other VS Code features (source control, problems view, outline, etc).
For those of us using OpenCode as a central coding agent, having it only in the terminal makes the experience feel more like a separate tool than a tightly integrated part of the IDE.
Proposal
Create an official Opensource OpenCode VS Code extension that:
- Renders OpenCode in a dedicated view/panel (e.g. a sidebar or main panel) instead of just a terminal.
- Uses VS Code’s Webview / custom view / panel APIs (or similar) so:
- The OpenCode interface can be docked, resized, and positioned like other panels.
- Layout is remembered between sessions.
- Focus, keybindings, and navigation feel native to VS Code.
Possible features for the extension
- Integrated agent panel: A persistent OpenCode panel where the agent UI lives, rather than a transient terminal.
- Project‑aware context: Automatically picks up the current workspace, repo, and open files, using VS Code APIs instead of shell heuristics.
- Commands & keybindings:
- “Open OpenCode panel” command.
- Quick commands to send the current file/selection to OpenCode.
- Customizable hotkeys for common agent actions.
- Status bar integration: Simple status indicator (e.g. agent running, thinking, idle, error).
- Configuration UI: VS Code settings page for OpenCode config, keys, backends, etc., instead of editing config only via files/CLI.
Benefits
- Better UX inside VS Code: OpenCode feels like a first‑class citizen, similar to other popular AI/code tools that ship as VS Code extensions.
- Less context switching: Developers can keep OpenCode visible alongside editor, terminal, and source control.
- More discoverable and approachable: Installing from the VS Code marketplace greatly lowers the barrier to trying OpenCode for new users.
- Easier integration with other tools: Extension can hook into VS Code’s APIs to provide richer workflows (e.g. running specific tasks, opening files suggested by the agent, etc.).
Additional Context
My main use case is running OpenCode as a primary coding agent while staying entirely inside VS Code. Having an official extension that opens properly in a VS Code pane (instead of just a terminal window) would make OpenCode much easier to adopt and use as a daily driver for development.
Feature hasn't been suggested before.
Describe the enhancement you want to request
Summary
I’d like OpenCode to be available as an official Visual Studio Code extension, so it can run as a native panel/side view within VS Code instead of only as a standalone terminal UI.
Problem
Right now, the typical way to use OpenCode is through a terminal. This works, but it has a few practical limitations for developers who live inside VS Code:
For those of us using OpenCode as a central coding agent, having it only in the terminal makes the experience feel more like a separate tool than a tightly integrated part of the IDE.
Proposal
Create an official Opensource OpenCode VS Code extension that:
Possible features for the extension
Benefits
Additional Context
My main use case is running OpenCode as a primary coding agent while staying entirely inside VS Code. Having an official extension that opens properly in a VS Code pane (instead of just a terminal window) would make OpenCode much easier to adopt and use as a daily driver for development.