Frank 8 месяцев назад
Родитель
Сommit
db2fbed691
1 измененных файлов с 16 добавлено и 0 удалено
  1. 16 0
      sdks/vscode/README.md

+ 16 - 0
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