SuperHTML VSCode LSPLanguage Server for HTML and SuperHTML Templates. NOTE: This extension bundles the full language serverBut you can optionally also get the CLI tool so that you can access it outside of VSCode. For prebuilt binaries and more info: https://github.com/kristoff-it/superhtml DiagnosticsThis language server is stricter than the HTML spec whenever it would prevent potential human errors from being reported. As an example, HTML allows for closing some tags implicitly. For example the following snipped is correct HTML.
This will still be reported as an error by SuperHTML because otherwise the following snippet would have to be considered correct (while it's much probably a typo):
AutoformattingThe autoformatter has two main ways of interacting with it in order to request for horizontal / vertical alignment.
Example of rule #1Before:
After:
ReverseBefore:
After:
Example of rule #2Before:
After:
ReverseBefore:
After:
|