I’m experiencing the same issue after updating to Cursor 2.0. In the chat, C# code blocks do not have any syntax highlighting.
Other languages, such as TypeScript, still show syntax highlighting in code blocks in the chat. Prior to updating to version 2.0, C# code blocks in the chat displayed syntax highlighting correctly.
Clarifications
Switching between Agent and Ask mode doesn’t make a difference.
Using either the new Agents view or the Editor view doesn’t make a difference.
Changing the VS Code color theme doesn’t make a difference.
Using the latest Cursor version (2.0.43.)
Reproduction Steps
Use Cursor version 2.0.43.
Send the following prompt:
In the chat, give me an example C# script.
Observe that the C# code block does not have any syntax highlighting.
Code blocks are not “coloured” anymore which makes the reading a pain. It was perfect before. I used to prompt in Ask mode to preview what code it intended to change or add before actually executing the change. Now everything is white on black.
Am I missing a new parameter to activate ?
Steps to Reproduce
Just ask in Ask mode for any code (I use C# mostly)
Expected Behavior
Code block is just white on black
Operating System
Windows 10/11
Current Cursor Version (Menu → About Cursor → Copy)