vento icon indicating copy to clipboard operation
vento copied to clipboard

Does vento have plans to provide a formatter plugin for vscode?

Open aboutjquery opened this issue 1 year ago • 3 comments

One of the reasons I regret using nunjucks is that over the years, Nunjcuks’ vscode formatting plug-in has been very poor and has many problems.

I am very interested in vento. Are there any good vscode format plug-ins? Or are they planned?

Thanks

aboutjquery avatar May 13 '24 12:05 aboutjquery

There isn't any Vento formatter for vscode right now, but I'd like to provide one.

The markup_fmt plugin for dprint supports Vento format, so maybe you can use https://github.com/dprint/dprint-vscode plugin.

oscarotero avatar May 13 '24 13:05 oscarotero

Was just tinkering around with formatters today, the Jinja2 Template plugin for prettier gets pretty close minus some gotchas with comments and JS syntax—perhaps that could be a good starting point?

noelforte avatar Jun 04 '24 04:06 noelforte

Yeah, it looks good to me. Is there anyone interested in working on this? I could try but don't have much time these days.

oscarotero avatar Jun 04 '24 09:06 oscarotero