Releases: joshdaugherty/vscode-antlers-css-validation
Releases · joshdaugherty/vscode-antlers-css-validation
Release list
v0.1.2
This release aligns the extension with the approach used by Antlers Toolbox: .antlers.html is treated as HTML instead of a separate language, so you get full HTML behavior (validation, IntelliSense, Emmet) by default. It also makes this extension the single source of CSS validation for HTML when the built-in validator is off.
Highlights
- Extend HTML instead of a separate language — Contributes
.antlers.htmland.antlers.htmto the built-in HTML language and registers a grammar forhtmlthat adds Antlers syntax. Nofiles.associationsneeded;.antlers.htmlis HTML with Antlers highlighting. - No duplicate CSS errors — Sets the default
html.validate.stylesto false so the built-in validator doesn’t report false “identifier expected” / “} expected” on#{{ 'module-' + id }}and similar. This extension then validates<style>for all HTML. - Style validation for all HTML — Validates CSS inside
<style>in every HTML document: Antlers-aware for.antlers.html(strips{{ ... }}then validates), standard for plain.html/.htm(validates as-is). One extension handles both. - Coexistence with Antlers Toolbox — Safe to use alongside Stillat’s extension; both contribute to the same HTML language. Only one grammar applies (by load order).
Breaking change
.antlers.htmlis now HTML — The previous “Antlers” language id is no longer used. If you had"files.associations": { "**/*.antlers.html": "antlers" }, you can remove it.
Upgrade
After installing v0.1.2, reload the window. If you still see duplicate CSS diagnostics in .antlers.html, ensure html.validate.styles is not overridden to true in your settings.
v0.1.1
Add license information to package-lock.json