EvaLuate (
|
| Setting | Default | Purpose |
|---|---|---|
evt.lua.enable |
true |
Lua IntelliSense in the body. |
evt.lua.serverPath |
"" |
Path to a lua-language-server (else auto-detect sumneko's). |
evt.lua.libraryPaths |
["downloads/spec/luacats"] |
LuaCATS folders to load as the type library. |
evt.spec.path |
downloads/spec/evaluate-api.json |
The generated spec that drives frontmatter completion. |
How it works
.evt is a hybrid file, so the extension runs its own lua-language-server and, via the
language-client's document-sync middleware, blanks the frontmatter out of the text it syncs to
the server — line-for-line, exactly what the EvaLuate runtime does. Because blanking preserves
line and column numbers, every position maps 1:1, so completion/hover/diagnostics come back
keyed to the real .evt file with no remapping. The server is told (via configuration
middleware, without touching your settings) to treat *.evt as Lua and to load the generated
LuaCATS library. The frontmatter gets its own EvaLuate-aware language features (it isn't Lua).
Install
- From a
.vsix:code --install-extension evaluate-evt.vsix(or Extensions ▸ … ▸ Install from VSIX). - Build it yourself:
npm install && npm run packageproducesevaluate-evt.vsix.
Develop
npm install
npm run watch # rebuild on change
# press F5 in VS Code to launch the Extension Development Host, open an .evt file
Publishing
The package is marketplace-ready (icon, metadata, bundled build). We publish to Open VSX — the registry used by VSCodium, Cursor, Windsurf, Gitpod and Theia. (No credit card; you log in with GitHub.)
One-time setup:
- Sign in at https://open-vsx.org with GitHub, then sign the Eclipse Foundation Open VSX Publisher Agreement (Settings ▸ Profile).
- Create an access token at https://open-vsx.org/user-settings/tokens.
- Create the publisher namespace (must match
publisherinpackage.json,radical-beard):npx ovsx create-namespace radical-beard -p <token> - Store the token as a GitHub Actions secret so CI can publish:
(Run it from anywhere; it prompts for the value so the token never lands in your shell history. Dropgh secret set OVSX_PAT --repo radical-beard/evaluate--repoif you run it inside a clone of this repo.)
Release (CI): bump version in package.json, then tag — the publish-extension
workflow builds and publishes to Open VSX:
git tag vscode-v0.1.0 && git push origin vscode-v0.1.0
Or publish from your machine:
npm run package
npx ovsx publish evaluate-evt.vsix -p <token>
No account is needed just to use it — share the .vsix and
code --install-extension evaluate-evt.vsix.
Want the VS Code Marketplace too (reaches stock VS Code)? It needs an Azure DevOps PAT. Create a publisher at https://marketplace.visualstudio.com/manage, then
npx @vscode/vsce publish --no-dependencies --packagePath evaluate-evt.vsix -p <pat>(and add the matching step back to the workflow).
License
MIT OR Apache-2.0, matching EvaLuate.