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
vs code, code formatting is not working. #622
Comments
https://github.com/vuejs/vetur/blob/master/docs/formatting.md. Where is this setting?
|
I added the following setting to .vscode/settings.json.
The
-- update: How to edit .vscode/settings.json?
My current settings:
|
I think this has some more info about why it is disabled: #484 |
me too,Ctrl+K,Ctrl+F doesnot work, it has been resolved?? |
As @cmnzs has said, html formatting is disabled by default because our formatter doesn't work well enough. |
@lzl124631x If you remove this:
Do you still get that error? |
@percy507 That is WRONG advice. You should not associate Vue with html. |
I solved this by removing all parameters in template tag (e.g. src, lang) |
Mine is fixed.
|
Try go to vetur configuration, and change => "vetur.format.defaultFormatter.html": "js-beautify-html" |
this problem has been resolved? |
its work, thank you... |
Info
Problem
I uninstalled all the extensions and reinstalled vetur several times, vue code formatter still doesn't work.
Reproducible Case
The text was updated successfully, but these errors were encountered: