Closed yorrd closed 1 year ago
@yorrd sorry for the so late reply i didn't receive notification about that :), Yeah formatting was on the list for this one, I'll try my best to implement it asap.
@pushqrdx awesome! let me know if we can help testing :) <3
The lit-html extension offers formatting inside of its HTML strings, I'm wondering if we can use their implementation as a reference. What I want is basically the functionality of lit-html but with a /* html */
prefix instead of html
, since I'm not actually using the lit-html library.
Currently I have to write
const html = String.raw
in all my files just so that I can use the html
prefix for compatibility with the lit-html extension. I would love to use this extension instead but it lacks formatting support.
closing as we already got editor.action.formatInlineHtml
, I am planning to add a formatter that can handle both typescript/javascript and inline html blocks but waiting for vscode to add a nicer way other than overriding the default formatter.
I'm loving it! Ever thought about formatting? I'm using it in the context of lit-html and have to format the templates by hand at the moment o.o
Have a great day!