Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
aboutjquery opened this issue May 13, 2024 · 3 comments
Open

Comments

@aboutjquery
Copy link

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
Copy link
Collaborator

oscarotero commented May 13, 2024

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
Copy link
Contributor

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
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants