-
Notifications
You must be signed in to change notification settings - Fork 196
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
Razor formatting in vs code adds \n
to each code line.
#5589
Comments
and by the way highlighting of the code is broken |
Also seeing this. Format document adds a ton of extra lines in the @code section |
I am also having this issue! |
Don't mind me, I'm just fighting with the bot... Adding back to untriaged. It looks like this was incorrectly removed and hasn't been assigned. In the meantime, since this is old, updated information would be helpful. What version of the extension are you hitting this with? |
Describe the bug:
Razor formatting in vs code adds
\n
to each code line.I can't reproduce this in a small repo, but if you want to check something I can help with it
Version used:
Razor.VSCode version 6.0.0-preview.5.21358.6
ms-dotnettools.csharp-1.23.16
omnisharp 1.37.17-beta.6
To reproduce:
Steps to reproduce the behavior:
"razor.format.enable": true
,"[aspnetcorerazor]": { "editor.defaultFormatter": "ms-dotnettools.csharp"
)*Expected behavior:
Code is formatted
Actual behavior:
Formatting adds line endings to each line
#4358
cc: @NTaylorMullen
The text was updated successfully, but these errors were encountered: