8 Commits

Author SHA1 Message Date
slhx agent f93051357a feat(lsp): explain generated targets on hover 2026-07-13 11:03:03 +02:00
slhx agent 217061c242 fix(lsp): select offending template attributes 2026-07-13 10:50:54 +02:00
slhx agent 2e55406a24 test(lsp): add hemplate highlighting fixture
Add repo-owned hemplate highlighting fixture and golden capture contract without editor packaging or a second parser.

req: diagnostics/004

req: diagnostics/008
2026-06-26 00:20:11 +02:00
slhx agent e77ddd459c test(lsp): cover protocol framing basics
Add LSP protocol coverage for initialize capabilities, shutdown response, and unknown request errors.

req: diagnostics/008
2026-06-25 23:36:15 +02:00
slhx agent 258524f3b8 test(lsp): cover documented hover facts
Make hover token-position aware and add protocol/helper coverage for documented hemplate hover facts.

req: diagnostics/007

req: diagnostics/008
2026-06-25 23:34:04 +02:00
slhx agent baf4b1529c test(lsp): cover documented completions
Add protocol and helper coverage for documented hemplate completion items, including data-hemx-root.

req: diagnostics/006
2026-06-25 23:29:33 +02:00
slhx agent 6cf800cac6 test(lsp): cover diagnostic publish lifecycle
Add protocol-level LSP tests for build-equivalent diagnostics across open/change/save/close and file-backed save without text.

req: diagnostics/004

req: diagnostics/005
2026-06-25 23:25:35 +02:00
slhx agent 797132647f feat(diagnostics): add compiler-backed heml language service
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
2026-06-22 22:06:42 +02:00