Syntax highlighting in chat broke in version 2.0.38.

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Syntax highlighting does not work in chats on any model.

Steps to Reproduce

Generate code in chat.

Screenshots / Screen Recordings

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 2.0.38 (Universal)
VSCode Version: 1.99.3
Commit: 3fa438a81d579067162dd8767025b788454e6f90
Date: 2025-10-29T20:45:40.883Z (15 hrs ago)
Electron: 34.5.8
Chromium: 132.0.6834.210
Node.js: 20.19.1
V8: 13.2.152.41-electron.0
OS: Darwin arm64 24.3.0

For AI issues: which model did you use?

Any

For AI issues: add Request ID with privacy disabled

06dd5af6-27a5-4991-b0f0-65fbcae32f82

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey, thanks for the report. From your screenshot, it looks like syntax highlighting doesn’t work for code blocks in chat.

Please clarify:

  • Does this affect Agent mode or Ask?
  • If you change the VS Code color theme, does it make any difference?

Also, could you update to the latest version and let me know if the issue still persists?

Please share any extra details about when exactly this happens.

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

  1. Use Cursor version 2.0.43.
  2. Send the following prompt:
    In the chat, give me an example C# script. 
    
  3. Observe that the C# code block does not have any syntax highlighting.

Screenshot

Version Info

Version: 2.0.43 (user setup)
VSCode Version: 1.99.3
Commit: 8e4da76ad196925accaa169efcae28c45454cce0
Date: 2025-10-30T18:49:27.589Z
Electron: 34.5.8
Chromium: 132.0.6834.210
Node.js: 20.19.1
V8: 13.2.152.41-electron.0
OS: Windows_NT x64 10.0.26100

Thanks for the info, that’s very helpful.

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Hi,

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)

Version: 2.0.43 (user setup)
VSCode Version: 1.99.3
Commit: 8e4da76ad196925accaa169efcae28c45454cce0
Date: 2025-10-30T18:49:27.589Z
Electron: 34.5.8
Chromium: 132.0.6834.210
Node.js: 20.19.1
V8: 13.2.152.41-electron.0
OS: Windows_NT x64 10.0.26100

Does this stop you from using Cursor

No - Cursor works, but with this issue

I’ve got the same issue on 2.0.64
The chat is broken since 2.0 version