Skip to content
| Marketplace
Sign in
Visual Studio Code>Chat>SideCodeNew to Visual Studio Code? Get it now.
SideCode

SideCode

eorsini

|
1 install
| (0) | Free
OpenCode but Cursor style — VS Code sidebar client for OpenCode sessions.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

SideCode

VS Code sidebar client for OpenCode sessions.

License: MIT


Features

  • Native sidebar integration — the full OpenCode chat experience lives in the VS Code Activity Bar
  • Recent chats bar — quickly switch between open conversations with per-tab close buttons, unread markers, and live busy/finished indicators
  • Multi-session management — create, switch, rename, archive, and delete sessions
  • Grouped tool calls — consecutive tool calls collapse into a single Used N … row; expand it to inspect each call and its details
  • Native diffs — edit, write, and apply_patch tool diffs open in VS Code's diff editor as read-only documents, so closing them never prompts to save
  • In-app settings — a dedicated OpenCode Settings tab with full-screen settings, plus host-backed extension settings that stay in sync
  • Notifications and sounds — desktop notifications and per-event sounds for agent activity, permission prompts, and errors
  • Theming and localization — 17 languages, light/dark/system color scheme, UI theme, font families, and font size
  • Advanced controls — custom keybinds, per-model visibility, configurable tool-part expansion, and workspace-wide permission auto-accept
  • Auto-install CLI — detects and installs OpenCode automatically via npm on first launch
  • Smart PATH resolution — searches PATH, well-known locations, and login shell fallback
  • Real-time sync — live event streaming with automatic reconnection and busy-state recovery
  • Workspace-aware — uses the active workspace folder as the OpenCode working directory
  • Open Terminal — launch a workspace terminal running the OpenCode CLI from the command palette

Quick Start

  1. Install the extension from the Marketplace
  2. Open a workspace folder
  3. The extension will auto-detect or install the OpenCode CLI
  4. Start chatting from the sidebar

No CLI installed? The extension will offer to install it automatically via npm install -g opencode-ai.

Requirements

  • VS Code 1.96.0 or newer
  • Node.js (for the auto-install feature)
  • OpenCode CLI (auto-installed if missing)

Commands

Command Description
OpenCode: Focus Sidebar Focus the OpenCode sidebar view
OpenCode: New Session Create a new OpenCode session
OpenCode: Switch Session Pick an existing session from a quick pick
OpenCode: Refresh Reload the sidebar and reconnect
OpenCode: Open Settings Open the OpenCode Settings tab
OpenCode: Restart Local Server Restart the managed server
OpenCode: Open Terminal Open a terminal running the OpenCode CLI
OpenCode: Install CLI Manually install/update the OpenCode CLI

Keyboard Shortcuts

Shortcut Command
Cmd/Ctrl+Shift+Alt+. Focus Sidebar
Cmd/Ctrl+Shift+Alt+O New Session
Cmd/Ctrl+Shift+Alt+S Switch Session

Shortcuts are active while an editor or terminal has focus.

Configuration

Settings live under the sidecode.* namespace and are also editable from the in-app Settings tab.

Connection and CLI

Setting Default Description
sidecode.opencodePath opencode CLI command or executable path (supports ~)
sidecode.serverBaseUrl http://127.0.0.1:4096 Base URL for the OpenCode server
sidecode.autoStartServer true Auto-run opencode serve when needed
sidecode.debugServerLogs false Stream server logs to the output channel

Interface

Setting Default Description
sidecode.language auto App language, or auto for system detection
sidecode.uiColorScheme system system, light, or dark
sidecode.themeId oc-2 OpenCode UI theme id
sidecode.uiFont "" UI font family override
sidecode.codeFont "" Code font family override
sidecode.fontSize 14 Font size used by the OpenCode UI
sidecode.autoSave true Auto-save edits in OpenCode sessions
sidecode.releaseNotes true Show release notes after updates
sidecode.checkUpdatesOnStartup true Check for OpenCode updates on startup

Feed

Setting Default Description
sidecode.showReasoningSummaries false Show reasoning summaries when available
sidecode.shellToolPartsExpanded false Expand shell tool results by default
sidecode.editToolPartsExpanded false Expand edit/apply_patch tool results by default

Notifications and sounds

Setting Default Description
sidecode.notifyAgent true Desktop notifications for agent events
sidecode.notifyPermissions true Desktop notifications for permission prompts
sidecode.notifyErrors false Desktop notifications for errors
sidecode.soundAgentEnabled true Sound for agent notifications
sidecode.soundAgent staplebops-01 Sound id for agent notifications
sidecode.soundPermissionsEnabled true Sound for permission notifications
sidecode.soundPermissions staplebops-02 Sound id for permission notifications
sidecode.soundErrorsEnabled true Sound for error notifications
sidecode.soundErrors nope-03 Sound id for error notifications

Advanced

Setting Default Description
sidecode.autoAcceptWorkspacePermissions false Auto-accept permission prompts for the current workspace
sidecode.customKeybinds null Override OpenCode keybinds by command id
sidecode.modelVisibility null Per-model visibility map (providerID/modelID → show or hide)

Upgrading from OpenCode for VSCode? Existing opencodeVisual.* settings are copied to sidecode.* automatically on activation for user, workspace, and folder scopes. Values already set under sidecode.* take precedence.

License

MIT — see LICENSE for details.

Third-party attributions in THIRD_PARTY_NOTICES.md.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft