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
<template> multi-line comments shift with each format #2505
Comments
This issue should have been fixed in 1.1.4 by #2420. Unfortunately I can't reproduce it at the moment. |
@johnsoncodehk - here is a file that it is doing it - https://gist.github.com/mrinc/84e27a1bc0fcdfa79be228c96c387286 You can actually see the formatting. Maybe you can replicate the issue on your end with a copy of a file that is causing it. Originally I thought it may be caused by errors in the file, but that doesn't seem to affect it, so it's definately something else. |
Still happens with v1.2.0
Right. Only for multi-line comments in Here's how it looks, initial and then after a few Ctrl+S (with auto-format on Save)
|
I can reproduce with the gist, thanks. |
Thank you for the fix! It works |
Using Vue Language Features (Volar) v1.2.0 in VSCode
Before formatting:
First format:
Second format:
Third format:
and so on,
This does not happen with single line comments such as:
<!-- <div><p>Hello world!</p></div> -->
The text was updated successfully, but these errors were encountered: