-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
support vuejs #1154
Comments
It can just fall through case 'html':
case 'vue':
beatiFunc = jsbeautify.html; |
@lizhongyi @jimmywarting |
@lizhongyi Why closed? |
@bitwiseman I think they may not have enough free time, please forgive us. :( |
Any progress on this? Not many tools out there as good as or as widely used as jsbeautify and not supporting Vue is a huge headache. |
@lonerdottie - It looks like this would a straightforward PR. Make the change suggested above, add a few tests. I doubt it would be full support, but it would be something. |
@lonerdottie - Actually, it is unclear to me what part of the code it referred to above. Are you using http://jsbeautifier.org or a specific editor/plugin? What happens to your vuejs code when you put it in http://jsbeautifier.org ? |
@bitwiseman take a look at this code for example and run it through. The obvious issue when running it in jsbeautifier.org is that it ignores everything within the 'template' tag. |
@lonerdottie Yeah, we treat What other issues do you see? |
How does one remove the template tag from the unformatted tags for HTML beautifying? |
@xorbis @lonerdottie |
Can't test on my side we switched to eslint beautifying. |
Settings
Example:
The text was updated successfully, but these errors were encountered: