We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Performing an auto-format on a razor file adds new lines to C# code everywhere and does not respect C# > Code Style > Formatting > New Lines.
Even if all the "New line options for braces" are turned off, it behaves as if they were all turned on.
This has only started happening after updating to VS 17.12.2. Updating to 17.12.3 did not fix the issue.
Previously auto-formatted C# code in .razor file:
Newly auto-formatted code:
Settings:
The text was updated successfully, but these errors were encountered:
This was caused by a Roslyn bug, fixed in dotnet/roslyn#76066 in v17.13
Sorry, something went wrong.
davidwengier
No branches or pull requests
Performing an auto-format on a razor file adds new lines to C# code everywhere and does not respect C# > Code Style > Formatting > New Lines.
Even if all the "New line options for braces" are turned off, it behaves as if they were all turned on.
This has only started happening after updating to VS 17.12.2. Updating to 17.12.3 did not fix the issue.
Previously auto-formatted C# code in .razor file:

Newly auto-formatted code:

Settings:

The text was updated successfully, but these errors were encountered: