yew-highlighting icon indicating copy to clipboard operation
yew-highlighting copied to clipboard

Add syntax highlighting to Yew html! macros in Visual Studio Code

yew-highlighting (VSCode extension)

Add syntax highlighting to Yew html! macros in Visual Studio Code.

⚠️ Better Alternative ⚠️

@TechTheAwesome has since made a more complete extension. Future progress will be made on this extension, so check it out!

Features

  • Highlight html! macros using the XML syntax highlighting. This is still a work in progress.

    Screenshot of a syntax highlighted Yew html macro

Known Issues

  • "XML" (the text in the html! macros) is recognized as Rust code intrinsically.
  • Since "XML" is still recognized as Rust, the Rust syntax highlighting sometimes takes over and colors XML incorrectly.

Release Notes

See CHANGELOG.md.