peakchen90 / vue-beautify

vscode的一个vue格式化插件
https://marketplace.visualstudio.com/items?itemName=peakchen90.vue-beautify
25 stars 21 forks source link

It does not work as expected in inner <template> tags. #6

Closed safaorhan closed 6 years ago

safaorhan commented 7 years ago

Steps to reproduce:

<template>
    <template class="buggy"></template>
</template>

Expected:

<template>
    <template class="buggy"></template>
</template>

Actual:

<template>
    <template class="buggy">
</template>

</template>
HADB commented 7 years ago

👍 I found this problem as well. 这个问题我也发现了。

peakchen90 commented 7 years ago

@safaorhan It seems not to work when you execute Beautify Vue multiple times. Maybe the vetur is a better choice.

safaorhan commented 7 years ago

@peakchen90 Thanks for the suggestion. I will look at it.

Also can you look at the pull request: https://github.com/peakchen90/vue-beautify/pull/7

yoyo837 commented 7 years ago

@peakchen90 You seem too busy, no time to maintain this project, maybe you need some teammates to help you.