Frank 80b17dab44 wip: vscode extension 7 месяцев назад
..
images 5611ef8b28 wip: vscode extension 7 месяцев назад
script 6965787b33 wip: vscode extension 7 месяцев назад
src 13def91e9a wip: vscode extension 7 месяцев назад
.gitignore 0e1565449e wip: vscode extension 7 месяцев назад
.vscode-test.mjs 0e1565449e wip: vscode extension 7 месяцев назад
.vscodeignore 0e1565449e wip: vscode extension 7 месяцев назад
README.md db2fbed691 wip: vscode extension 7 месяцев назад
bun.lock 0e1565449e wip: vscode extension 7 месяцев назад
esbuild.js 0e1565449e wip: vscode extension 7 месяцев назад
eslint.config.mjs 0e1565449e wip: vscode extension 7 месяцев назад
package.json 80b17dab44 wip: vscode extension 7 месяцев назад
tsconfig.json 0e1565449e wip: vscode extension 7 месяцев назад

README.md

opencode VS Code Extension

A VS Code extension that integrates opencode directly into your development environment.

Prerequisites

This extension requires opencode to be installed on your system. Visit opencode.ai for installation instructions.

Features

  • Cmd+Escape: Launch opencode in a split terminal view
  • Alt+Cmd+K: Send selected code to opencode's prompt
  • Tab awareness: opencode automatically detects which files you have open

Support

This is an early release. If you encounter issues or have feedback, please create an issue at https://github.com/sst/opencode/issues.

Development

  1. code sdks/vscode - Open the sdks/vscode directory in VS Code. Do not open from repo root.
  2. bun install - Run inside the sdks/vscode directory.
  3. Press F5 to start debugging - This launches a new VS Code window with the extension loaded.

Making Changes

tsc and esbuild watchers run automatically during debugging (visible in the Terminal tab). Changes to the extension are automatically rebuilt in the background.

To test your changes:

  1. In the debug VS Code window, press Cmd+Shift+P
  2. Search for Developer: Reload Window
  3. Reload to see your changes without restarting the debug session