SuperHTML VSCode LSPLanguage Server for HTML. IMPORTANT: disable the builtin VSCode HTML extension!Due to a bug in VSCode's builtin HTML extension, SuperHTML cannot disable wrong end tag suggestions from VSCode automatically. You can still disable them manually by following these instructions. DiagnosticsSuperHTML validates not only syntax but also element nesting and attribute values. No other language server implements the full HTML spec in its validation code.
AutoformattingThe autoformatter has two main ways of interacting with it in order to request for horizontal / vertical alignment.
Note that the autoformatter will never accept any configuration option. You are encouraged to add a Example of rule #1Before:
After:
ReverseBefore:
After:
Example of rule #2Before:
After:
ReverseBefore:
After:
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 |
