-
Notifications
You must be signed in to change notification settings - Fork 237
Closed
Description
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:
- Create razor file
- Enable razor formatting (
"razor.format.enable": true,"[aspnetcorerazor]": { "editor.defaultFormatter": "ms-dotnettools.csharp") - Use format in a razor file
*Expected behavior:
Code is formatted
Actual behavior:
Formatting adds line endings to each line
cc: @NTaylorMullen
Reactions are currently unavailable
