summaryrefslogtreecommitdiffhomepage
path: root/sdks
diff options
context:
space:
mode:
authorFrank <[email protected]>2025-07-22 13:21:45 -0400
committerFrank <[email protected]>2025-07-22 13:21:49 -0400
commitdb2fbed691f3b69dc3cbc1c94c68309e8755ead2 (patch)
tree67f85765e5e3fa9c1a2312c5831e2dd9da0269da /sdks
parent3d4c1425d91fe7e0e7d54164032283f76b0ee564 (diff)
downloadopencode-db2fbed691f3b69dc3cbc1c94c68309e8755ead2.tar.gz
opencode-db2fbed691f3b69dc3cbc1c94c68309e8755ead2.zip
wip: vscode extension
Diffstat (limited to 'sdks')
-rw-r--r--sdks/vscode/README.md16
1 files changed, 16 insertions, 0 deletions
diff --git a/sdks/vscode/README.md b/sdks/vscode/README.md
index 0b6de59e7..78685b2c7 100644
--- a/sdks/vscode/README.md
+++ b/sdks/vscode/README.md
@@ -15,3 +15,19 @@ This extension requires [opencode](https://opencode.ai) to be installed on your
## 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