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

Auto add space between double curly brackets {{}} -> {{ | }} #2088

Closed
mrleblanc101 opened this issue Nov 2, 2022 · 0 comments
Closed

Auto add space between double curly brackets {{}} -> {{ | }} #2088

mrleblanc101 opened this issue Nov 2, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@mrleblanc101
Copy link

mrleblanc101 commented Nov 2, 2022

Would be nice if Volar could auto format double curly brackets on type.
VS Code already expand { to {} and {{ to {{}}.
But it would be nice to add the space before and after like so {{ | }} (where | is the cursor).
I know tools like prettier can do it on save, but not on type as far as I know.

@mrleblanc101 mrleblanc101 changed the title Auto add space between double brackets {{}} Auto add space between double brackets {{}} -> {{ | }} Nov 2, 2022
@mrleblanc101 mrleblanc101 changed the title Auto add space between double brackets {{}} -> {{ | }} Auto add space between double curly brackets {{}} -> {{ | }} Nov 2, 2022
@johnsoncodehk johnsoncodehk added the enhancement New feature or request label Nov 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants