feat(ide): export a portable VS Code extension; publish Void/VbsVsCode
This commit is contained in:
1 parent
399b52c31c
commit
12a52bbd0d
9 files changed
+278
-2
No files matched your search
@@ -1604,6 +1604,30 @@ vbs build --project /tmp/opencode/vl-migrate --build-dir /tmp/opencode/vl-migrat
|
||||
expanded `${CMAKE_CURRENT_SOURCE_DIR}`.
|
||||
- CLI contract covers `--help` and a missing input file (exit 1).
|
||||
|
||||
## Editor Plugin Asset Export (GCC 16.2, pin `0002e74`)
|
||||
|
||||
```sh
|
||||
vbs ide plugin --project <proj> --build-dir <build> --editor vscode --output <dir>
|
||||
```
|
||||
|
||||
- Writes `package.json` (six commands: build, test, install, package, daemon start/status),
|
||||
`extension.js` (spawns the resolved `vbs` executable in a terminal) and `README.md`.
|
||||
- `FullV1Tests.ide_plugin_assets_export_vscode_extension` **passed**: three files written, the
|
||||
manifest parses as strict JSON with six contributed commands, the script embeds the configured
|
||||
`vbs` path and the `vbs.build`/`vbs.package` ids, and a Zed request is rejected explicitly.
|
||||
- CLI contract covers `--help` and the missing `--output` error.
|
||||
|
||||
## VS Code Extension Repository (GCC 16.2, pin `0002e74`)
|
||||
|
||||
- `vbs ide plugin --editor vscode --output DIR` now emits a portable extension: commands are
|
||||
plain `vbs` invocations and `--project` comes from the VS Code workspace folder at runtime;
|
||||
the executable falls back to `VBS_BIN` or `vbs` (no machine-specific paths).
|
||||
- `FullV1Tests.ide_plugin_assets_export_vscode_extension` **passed** (3 files, 6 contributed
|
||||
commands, `workspaceFolders` and `VBS_BIN || "vbs"` present, Zed rejected).
|
||||
- Published to the new [Void/VbsVsCode](https://git.faumaray.com/Void/VbsVsCode) repository
|
||||
(`package.json`, `extension.js`, `README.md`, `LICENSE`, `.vscodeignore`); the contents were
|
||||
read back through the Gitea API.
|
||||
|
||||
## Limits and Unrun Checks
|
||||
|
||||
1. **HTTPS git fetch**: the host shell is proxy-restricted, but the Docker container could clone `https://git.faumaray.com/Void/VoidLibrary.git`; the pinned commit `3e254055e081a104f08df68dde39711bc7813518` was fetched directly for the verification above. A separate configure against the local `/home/faumaray/Projects/Library` checkout via `VBS_VOID_SOURCE_DIR` also succeeded (development-only override, checkout unmodified).
|
||||
|
||||
Reference in new issue
Block a user