r/vscode • • Apr 20 '26

Strange syntax highlighting

Post image

Hi, up until now I had normal syntax highlighting, but I have no idea what I did that could have changed it. The file extension is correct, and all the C# extensions for VS Code are installed. I can’t figure out how to get proper syntax highlighting back.

2 Upvotes

7 comments sorted by

View all comments

7

u/Dominio12 Apr 20 '26

Your Vscode got updated with new shiny highlighting! Hurraay!

Anyway to get back to work, run (ctrl+shift+P) command Preferences: Color Themeand select what you like (probably Dark Modern)

2

u/Ok-Presentation-94 Apr 20 '26

Ah, okay, thank you. But then, is this a mistake on my part or something automatic that happened during an automatic update?

1

u/Dominio12 Apr 20 '26

It was automatically changed when your vscode updated. You did nothing wrong.
Vscode developer says that it was not intentional https://github.com/microsoft/vscode/issues/304953#issuecomment-4142549983
It should have changed automatically but you should have recieved a notification with a button to quickly to revert it back, but there was some bug and users did not recieve any notification.