The vscode-extension/ added in #41 has no publishing pipeline. Before it can ship to the VS Code Marketplace it needs:
Problems
1. package.json files field is wrong
Lists "runtime/" but the C++ runtime lives at src/runtime/. npm publish would ship a package missing its runtime headers entirely.
Fix: change to "src/runtime/".
2. No bundler configured for the extension
The extension uses tsc only. For marketplace distribution the client and server must be bundled into single files so node_modules is not shipped. vscode:prepublish is undefined.
3. strucpp dependency is file:..
Works locally but breaks vsce package — the file-protocol dep won't resolve in a packaged VSIX. Needs either a published npm version or the compiler bundled into the extension via webpack/esbuild.
4. No publisher field in vscode-extension/package.json
Required by vsce for packaging and publishing.
5. No vsce devDependency
@vscode/vsce is not listed — vsce package and vsce publish commands are unavailable.
6. No CI publishing step
No workflow step to run vsce package on tag push or produce a .vsix artifact.
Suggested fix
In vscode-extension/:
- Add
webpack + ts-loader + @vscode/vsce to devDependencies
- Add
webpack.config.js with client + server bundle configs (externalize vscode)
- Set
"vscode:prepublish": "webpack --mode production"
- Add
publisher field
- Fix
strucpp dep — bundle the compiler into the extension or wait until strucpp is published to npm
- Update
.vscodeignore to exclude src/, node_modules/, keep dist/ and runtime data
- Add
vsce package step to release workflow that produces a .vsix artifact on tag push
The
vscode-extension/added in #41 has no publishing pipeline. Before it can ship to the VS Code Marketplace it needs:Problems
1.
package.jsonfilesfield is wrongLists
"runtime/"but the C++ runtime lives atsrc/runtime/.npm publishwould ship a package missing its runtime headers entirely.Fix: change to
"src/runtime/".2. No bundler configured for the extension
The extension uses
tsconly. For marketplace distribution the client and server must be bundled into single files sonode_modulesis not shipped.vscode:prepublishis undefined.3.
strucppdependency isfile:..Works locally but breaks
vsce package— the file-protocol dep won't resolve in a packaged VSIX. Needs either a published npm version or the compiler bundled into the extension via webpack/esbuild.4. No
publisherfield invscode-extension/package.jsonRequired by
vscefor packaging and publishing.5. No
vscedevDependency@vscode/vsceis not listed —vsce packageandvsce publishcommands are unavailable.6. No CI publishing step
No workflow step to run
vsce packageon tag push or produce a.vsixartifact.Suggested fix
In
vscode-extension/:webpack+ts-loader+@vscode/vsceto devDependencieswebpack.config.jswith client + server bundle configs (externalizevscode)"vscode:prepublish": "webpack --mode production"publisherfieldstrucppdep — bundle the compiler into the extension or wait untilstrucppis published to npm.vscodeignoreto excludesrc/,node_modules/, keepdist/and runtime datavsce packagestep to release workflow that produces a.vsixartifact on tag push