docs: bound optional heml editor overlays
Make hemx-build diagnostics and the documented .heml syntax surface the authority for any editor overlay, while rejecting a second template language, selector model, formatter, or custom editor framework. req: diagnostics/004
This commit is contained in:
@@ -57,6 +57,16 @@ Avoid beginner-facing messages that suggest `ResourceId`, `ResourceRef`, raw
|
||||
escape hatch is genuinely required, say that it is advanced and name the safer
|
||||
normal path first. req: public_api/002 req: public_api/005
|
||||
|
||||
## Editor overlay boundary
|
||||
|
||||
A `.heml` editor overlay is optional and subordinate to the compiler. It may read
|
||||
`docs/hemplate-syntax.md`, run or reuse `hemx-build` diagnostics, and present
|
||||
compiler-shaped diagnostics, completion, hover, and navigation for documented
|
||||
syntax and generated targets. It must not define a second template language,
|
||||
formatter, selector targeting model, JavaScript expression layer, or custom editor
|
||||
framework. If editor feedback disagrees with `hemx-build`, `hemx-build` wins.
|
||||
req: diagnostics/004
|
||||
|
||||
## Verification anchors
|
||||
|
||||
Current recurring checks cover the most common classes:
|
||||
|
||||
Reference in New Issue
Block a user