-
-
Notifications
You must be signed in to change notification settings - Fork 594
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
how to use vscode's html for <template> format? #488
Comments
vscode's html tool not have this bug: |
In neither html nor vue can I reproduce this problem. You can set "vetur.format.defaultFormatter.html": "none" |
@octref This is caused by rewrapping code in indentation. js-beautify won't deindent code in comment. So effectively it reindent. Sadly I don't have time to fix this. :/ |
Do you set I clear all vscode settings, this is what happened: |
@HerringtonDarkholme can you reproduce this problem? |
I can reproduce but I will not fix this. |
It fixed in vetur-0.11.3, thanks! ===== <style> 's comment `/**/` still have this indent bug. |
Info
Problem
when save comment in , the code auto add 4 whitespace in all comment line everytime.
Reproducible Case
use
html
for .vue files works fine. butvue
for .vue files got this problem.I kown it must js-beautify's problem, but I can't find a issue about this, and vscode's html(use js-beautify?) works fine. Is there any template formatter tools to replace js-beautify-html?
The text was updated successfully, but these errors were encountered: