Skip to content

Format everything with prettier #22

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

Closed
rfberaldo opened this issue Nov 11, 2020 · 2 comments
Closed

Format everything with prettier #22

rfberaldo opened this issue Nov 11, 2020 · 2 comments
Labels
question Further information is requested

Comments

@rfberaldo
Copy link

I'm trying to use Prettier as formatter for every block, how do I do that? I tried workspaceExtensions but didn't work for the <template> block.

@rfberaldo
Copy link
Author

I replaced default formatter from Volar to Prettier, didn't know Prettier could format SFC.

@johnsoncodehk
Copy link
Member

Maybe your vscode html formatter is not properly setup. btw workspaceExtensions is just for fun now... See vuejs/vetur#2315 (comment)

@johnsoncodehk johnsoncodehk added the question Further information is requested label Nov 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants