Syscribe for VS CodeA thin, pure-LSP client: it spawns Open any
The
|
| Setting | Default | Description |
|---|---|---|
syscribe.serverPath |
"" (auto) |
Explicit path to the syscribe binary. Leave empty to auto-resolve. |
syscribe.version |
"latest" |
Release tag to download when auto-resolving and no syscribe is on PATH. |
syscribe.modelRoot |
"" (auto) |
Model root passed as -m <path>. Leave empty to let the server auto-discover it (.syscribe.toml walk-up). |
Developing this extension
npm install- Open this folder (
editors/vscode/) in VS Code. - Press F5 (or Run → Start Debugging). This compiles the extension and opens an Extension Development Host window with it loaded.
- In that new window, open a folder containing a Syscribe model (e.g. the repo root, or
model/itself) and open any.mdfile under it.
Set syscribe.serverPath to target/debug/syscribe or target/release/syscribe to use a
locally built binary (cargo build -p syscribe from the repo root) instead of the
auto-resolved one while iterating on the server.
Tests
npm test— fast unit tests (platform/target-mapping logic), plain Node/Mocha, no VS Code host required.npm run test:integration— downloads a throwaway VS Code build and runs an Extension-Development-Host smoke test (extension activates cleanly). Full LSP behavior (diagnostics, navigation, completion, rename, ...) is covered server-side bycrates/syscribe/tests/lsp_*.rs, not duplicated here.
Packaging
npm run build:vsix produces a .vsix (via vsce package, which esbuild-bundles
dist/extension.js first — vscode-languageclient and its dependencies are inlined, so the
shipped package carries no node_modules) for local sideloading or manual Marketplace upload.