MDN Macros Syntax VSCode ExtensionThis extension provides syntax highlighting and snippets for MDN Macros in Visual Studio Code. FeaturesCode HighlightingThe MDN code blocks have 3 keyword types:
Macros snippets and syntax coloringAll MDN Macros have snippets and syntax coloring to help you write MDN Macros quickly and accurately. For example, trying to type The plugin also provide a typo explainer when a macro is not recognized:
Quick fix macrosWhen a macro is not recognized, a quick fix suggestion is provided to replace it with the correct macro name: Deprecated macros warningWhen a deprecated macro is used, a warning is shown on hover with information about the deprecation and suggested alternatives. |