Skip to content
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

C#/Razor syntax highlight is missing for portions of text #11142

Open
Peter-Juhasz opened this issue Nov 3, 2024 · 1 comment
Open

C#/Razor syntax highlight is missing for portions of text #11142

Peter-Juhasz opened this issue Nov 3, 2024 · 1 comment

Comments

@Peter-Juhasz
Copy link

VS 17.12 P5 (no extensions enabled)

Image

  • Outlining, document structure, quick info, brace matching all work
  • Except syntax highlighting for C# and Razor components (although it highlights @). HTML seems to work too.

Making an edit invalidates the bad state and syntax highlighting comes back.

@wstaelens
Copy link

Working in razor files is really a pain. hightlighting, autocomplete, quick actions and refactorings it is all a big mess. 9/10 it doesn't work properly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants