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
Formatting screws up on second 'Format Selection' #1843
Comments
It's some kind of state error with the |
Thanks for the report! But I can't reproduce this problem, do you have use other format plugin with (I just fix an other format problem in ce2be82 but I think it's unrelated to this issue.) |
It's happening to me too, deleting text somewhere else in the file (not only in the template) on 'format on paste' (which uses format selection under the hood I believe). It doesn't seem to matter where or what I paste. I don't have a reproduction available at the moment, but it happens across all my Vue projects. Not using a |
@Ragura I can reproduce it with format on paste enabled, thank you! |
Could you try volar-0.40.11-alpha.1.vsix.zip? |
Yep that fixes it for me! |
Given the following document saved in a
.vue
file:Select all, then 'Format Selection' twice in a row. The second time, the formatting screws up and the
</template>
tag is partially deleted.The text was updated successfully, but these errors were encountered: