797132647f
Add hemx-lsp for stdio LSP diagnostics, completion, and hover while preserving HTML editor tooling for .heml files. Teach hemx-build to expose generated target and derive-known template context facts, including simple h-for locals, so editor help comes from build-owned facts instead of editor-only parsers. Wire VS Code/Cursor and Neovim documentation and extend the Workout exemplar with a real h-for plan loop for end-to-end proof. req: diag/004 req: diag/005 req: diag/006
45 lines
1.2 KiB
JSON
45 lines
1.2 KiB
JSON
{
|
|
"name": "hemx-heml",
|
|
"displayName": "Hemx HEML",
|
|
"description": "Compiler-backed .heml diagnostics, completion, and hover while preserving VS Code HTML tooling.",
|
|
"version": "0.1.0",
|
|
"publisher": "hemx",
|
|
"engines": {
|
|
"vscode": "^1.80.0"
|
|
},
|
|
"categories": [
|
|
"Programming Languages"
|
|
],
|
|
"activationEvents": [
|
|
"workspaceContains:**/*.heml",
|
|
"onLanguage:html",
|
|
"onLanguage:heml"
|
|
],
|
|
"main": "./extension.js",
|
|
"contributes": {
|
|
"configurationDefaults": {
|
|
"files.associations": {
|
|
"*.heml": "html"
|
|
}
|
|
},
|
|
"configuration": {
|
|
"title": "Hemx HEML",
|
|
"properties": {
|
|
"hemx.heml.lspCommand": {
|
|
"type": "string",
|
|
"default": "",
|
|
"description": "Command used to start hemx-lsp. Empty means: use `cargo run -p hemx-lsp -- lsp` inside the hemx repo, otherwise `hemx-lsp lsp`."
|
|
},
|
|
"hemx.heml.lspArgs": {
|
|
"type": "array",
|
|
"default": [],
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"description": "Arguments for hemx.heml.lspCommand. Leave empty to use the automatic repo/installed-binary defaults."
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|