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 of :class={} definitions Since 2.x #4078
Comments
Thanks for the report, but I can't reproduce the issue. Can you share following informations?
|
Actually the same issue happens in my projects as well, and here're the information that may help. User Settings JSON
Workspace Settings JSON
Help: AboutVersion: 1.87.2 (Universal) .vscode/settings.json
Thank you for all the work, and hope those info will help! |
Close as fixed by #4165 |
Thanks to everybody who is contributing to this extension. Great Job!
There seems to be a problem with the indentation after auto format of this plugin when using conditional class attirbutes like:
:class="{}"
. The moment they are multiline the doesnt format well anymore.As I didn't find any open issue about this yet, I thought I would open one. I hope this is enough info to reproduce.
Before upgrading to 2.x (v1.8.27) the following code was formatted like this:
Since upgrading to 2.x, I've tried multiple versions (v2.0.6) it formats like this:
It would be great if someone could take a look at this.
Thanks in advance!
The text was updated successfully, but these errors were encountered: