feat(vscode): extension foundation — scaffold, language registration, three stubbed seams #44
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "vscode-extension-foundation"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Lays the foundation for a Beloch VSCode extension at
editors/vscode/(bun + esbuild + TypeScript). This is deliberately a shared shell — it ships nothing user-visible beyond language registration; its job is to nail the seams so three subsystems (syntax highlighting, LSP, live preview) can be built in parallel, each in a disjoint file set.What it ships:
activate/deactivatedelegating toregisterLsp/registerPreview.beloch,.bel, line comment;.--is deliberately not a comment (it's the crease sigil).resolveBeloch()— single binary-discovery choke point: settingbeloch.path→belochonPATH→ dev fallbackdune exec beloch --. Unit-tested (4/4).syntaxes/beloch.tmLanguage.json, emptypatterns), LSP client bootstrap spawningbeloch lsp(tolerates the stub server exiting nonzero — no crash, no error dialog), preview webview stub with commandbeloch.showPreview.package.jsondeclares all contribution slots up front and is frozen after this — that's the anti-collision design: later subsystem agents touch only their own files. Seeeditors/vscode/README.mdfor the ownership contract.bunx tsc --noEmitclean,bun test4/4,bun run compilegreen. The OCaml core is untouched.Groundwork for the live preview relates to #42 (per-step folded frames for interpolation) and #31 (exact per-face isometries). Built task-by-task with per-task and whole-branch review.