-
Notifications
You must be signed in to change notification settings - Fork 669
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
Cannot format .cshtml files (Razor logs an error) #7264
Labels
Comments
Update : I just updated my VSCode to the following, but the error still occurs.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
p.s.
CSharp: Report an issue
didn't work.Environment data
dotnet --info
output:VS Code version:
C# Extension version:
2.34.12
OmniSharp log
No Log
Razor log
Steps to reproduce
format document
or format on saveRequest textDocument/formatting failed. Source : C#
Expected behavior
The document is formatted and no error would appear
Actual behavior
The error appears and the document is not formatted
Additional context
This happens even in an empty .cshtml file, In non-empty files only the numbers in the log (e.g. line 1, boundary 1) are different.
The text was updated successfully, but these errors were encountered: