joystick icon indicating copy to clipboard operation
joystick copied to clipboard

Figure out a plugin for popular IDEs to help with HTML string syntax highlighting

Open rglover opened this issue 3 years ago • 3 comments

This adds syntax highlighting in an IDE fine and even renders HTML, but any component() render methods are broken. Seems to be a scoping issue of some sort? May need to pass render methods or the entire component instance to html() if and when it's used (tricky).

rglover avatar Aug 23 '22 14:08 rglover

I'm not going to close it, but if memory serves this breaks too much to work properly. It may work now, though, because it's been awhile since I've tried it.

rglover avatar Jul 18 '23 02:07 rglover

One option for this is to create a VSCode plugin (as well as for other popular IDEs) that just adds the syntax highlight.

rglover avatar Jul 23 '24 07:07 rglover

See here: https://claude.ai/chat/89efe5fd-c0db-4211-8dd1-dc1d29465aea.

Not worth battling with, but if we can get AI to generate a plugin that works, I'm happy.

rglover avatar Jul 23 '24 21:07 rglover