Marco Roth @marcoroth.dev 路 Mar 10

Action View tag helpers can get confusing when you're trying to figure out what the exact HTML output will look like. The Herb Language Server can now show you what they evaluate to on hover, and convert between tag helpers and HTML in-place with a single click.

28 likes 5 replies

?

Replies

Travis 路 Mar 11

Damn Marco, this is looking great. Seeing your vision for Herb take shape has made me completely re-think views, components and HTML in Ruby.

Marco Roth 路 Mar 10

I guess we can also show the method signature and a link to the docs too:

Marco Roth 路 Mar 10

Also, this understanding can be used by the `Herb::Engine` to optimize which parts of the template can be precompiled as most of it is effectively static HTML.