Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
Syntax highlighting broke in the Agent side panel, in e.g. python files syntax highlighting works. This behaviour started after adding a Google API key. The problematic syntax highlighting is a manual extension from VSCode, that was loaded in by a .vsix file. Re-importing the theme did not resolve the issue. The syntax highlighting only occurs when agent chat pastes a code block in chat (see attachments below)
Steps to Reproduce
Add a Google API key with a custom syntax highlighting activated, and start using a google model in Cursor chat. Delete the API key. Syntax highlight stays broken in the Agent side panel.
Expected Behavior
The user should always be able to set the Syntax highlighting in Cursor chat that matches the global setting. If this breaks, the user should be able to restore the setting.
Operating System
MacOS
Version Information
Version: 2.6.12
VSCode Version: 1.105.1
Commit: 1917e900a0c4b0111dc7975777cfff60853059d0
Date: 2026-03-04T21:41:18.914Z
Build Type: Stable
Release Track: Default
Electron: 39.6.0
Chromium: 142.0.7444.265
Node.js: 22.22.0
V8: 14.2.231.22-electron.0
OS: Darwin arm64 24.6.0
Does this stop you from using Cursor
Yes - Cursor becomes more difficult to use
I would be really happy if you could assist me on this issue, I currently tried to restore this setting by :
1. Cleared Cursor caches:
~/Library/Application Support/Cursor/Cache
~/Library/Application Support/Cursor/Code Cache
~/Library/Application Support/Cursor/GPUCache
~/Library/Application Support/Cursor/CachedData
~/Library/Application Support/Cursor/Service Worker
2. Reset theme-related entries in Cursor SQLite state DB (state.vscdb).
3. Restored parts of Cursor config from Time Machine:
- User/globalStorage:
- Service Worker
- CachedData
4. Reinstalled the VSIX theme manually.
5. Verified the theme package.json and theme JSON structure.
6. Confirmed the theme works in editor but not inside the Cursor chat webview.


