Releases: wfurphy/vscode-button-card-js
Releases · wfurphy/vscode-button-card-js
Release list
v2.1.2
v2.1.0
Added ESLint
- Add ESLint diagnostics for JavaScript inside Button-Card
[[[ ... ]]]YAML templates. - Add configurable lint timing with
buttonCardJs.eslint.run(onTypeoronSave) andbuttonCardJs.eslint.enable. - Add automated coverage for template extraction, source mapping, ESLint integration, and contributed settings.
v2.0.1
v2.0.1
- Update version number to match Visual Studio Marketplace
- Update .vscodeignore for packaging
v1.0.0
Changed
- Treat
[[[ ... ]]]templates as embedded JavaScript language regions in YAML injections (including token type mapping for non-string tokenisation). - Expand inline YAML injection selectors to cover additional scopes.
- Broaden bracket delimiter matching to support
[[[and longer opening/closing sequences used by newer button-card nested templates. - Use full JavaScript grammar for block injections to improve multiline parsing behaviour.
🙋♂️ Single line
"[[[ ... ]]]"templates need to be terminated with a closing semicolon (;) or else they can break the syntax highlighting in some cases.
Fixed
- #3 Fix inconsistent syntax highlighting and insufficient tokenisation of JavaScript code inside
[[[ ... ]]]blocks. Full language support now provides proper syntax highlighting, commenting, and tokenisation for JavaScript code in all contexts.
Development
- Add automated tests that verify embedded language and token type manifest configuration.
v1.0.0
Changed
- Treat
[[[ ... ]]]templates as embedded JavaScript language regions in YAML injections (including token type mapping for non-string tokenisation). - Expand inline YAML injection selectors to cover additional scopes.
- Broaden bracket delimiter matching to support
[[[and longer opening/closing sequences used by newer button-card nested templates. - Use full JavaScript grammar for block injections to improve multiline parsing behaviour.
🙋♂️ Single line
"[[[ ... ]]]"templates need to be terminated with a closing semicolon (;) or else they can break the syntax highlighting in some cases.
Fixed
- #3 Fix inconsistent syntax highlighting and insufficient tokenisation of JavaScript code inside
[[[ ... ]]]blocks. Full language support now provides proper syntax highlighting, commenting, and tokenisation for JavaScript code in all contexts.
Development
- Add automated tests that verify embedded language and token type manifest configuration.