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
Wrong component formatting in .tsx file #1234
Comments
I am not able to reproduce this issue. Please provide a sample project or detailed steps to reproduce. |
@ntotten
Make sure that you switched on formatting on Paste. |
Ah, okay. Yeah, this is an issue with the prettier range formatter, not the extension. See prettier/prettier#7148 and prettier/prettier#4926 |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Prettier - Code formatter 3.20.0
Sometimes it gives me the result as in "Actual result". But after
ctral+a
+ctrxl+x
+ctrl+v
it works as "Expected result".Actual result
Expected result
Additional information
(http://prntscr.com/qvks05)
VS Code Version: 1.41.0
Prettier Extension Version: 3.20.0
OS and version: Windows 10
Prettier Log Output
The text was updated successfully, but these errors were encountered: