ventojs / vento

🌬 A template engine for Deno & Node
https://vento.js.org/
MIT License
181 stars 10 forks source link

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

Open aboutjquery opened 4 months ago

aboutjquery commented 4 months ago

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

oscarotero commented 4 months ago

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.

noelforte commented 4 months ago

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?

oscarotero commented 4 months ago

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.