TimoDavid
(Timo David)
December 5, 2025, 7:26am
1
Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
The following bug was solved in July this year in VScode, but Cursor still have it. I use typescript, but perhaps the issue appear in all languages.
opened 11:27PM - 02 Feb 25 UTC
closed 08:33AM - 11 Jul 25 UTC
help wanted
polish
editor-color-picker
Type: <b>Bug</b>
Hex colors no longer show a preview, likely from this change: … https://github.com/microsoft/vscode/pull/233306
If a string begins with "#" without a leading whitespace, it should be a candidate for color preview. In the following code, rgb values show a preview, hex values do not.
```
contentPrimary: '#FFFFFF',
contentSecondary: 'rgba(255, 255, 255, 0.75)',
contentTertiary: 'rgba(255, 255, 255, 0.62)',
contentDisabled: 'rgba(255, 255, 255, 0.62)',
contentError: '#ED4964',
```

VS Code version: Code 1.96.4 (Universal) (cd4ee3b1c348a13bafd8f9ad8060705f6d4b9cba, 2025-01-16T00:16:19.038Z)
OS version: Darwin arm64 24.2.0
Modes:
<details>
<summary>System Info</summary>
|Item|Value|
|---|---|
|CPUs|Apple M4 (10 x 2400)|
|GPU Status|2d_canvas: enabled<br>canvas_oop_rasterization: enabled_on<br>direct_rendering_display_compositor: disabled_off_ok<br>gpu_compositing: enabled<br>multiple_raster_threads: enabled_on<br>opengl: enabled_on<br>rasterization: enabled<br>raw_draw: disabled_off_ok<br>skia_graphite: disabled_off<br>video_decode: enabled<br>video_encode: enabled<br>webgl: enabled<br>webgl2: enabled<br>webgpu: enabled<br>webnn: disabled_off|
|Load (avg)|1, 1, 1|
|Memory (System)|24.00GB (0.65GB free)|
|Process Argv|--crash-reporter-id 6d4ed78e-0cd6-432b-b48c-8ea5665c6a2a|
|Screen Reader|no|
|VM|0%|
</details>Extensions: none<details>
<summary>A/B Experiments</summary>
```
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvspyt551:31179978
vscod805:30301674
binariesv615:30325510
vsaa593:30376534
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
a9j8j154:30646983
962ge761:30959799
pythonnoceb:30805159
pythonmypyd1:30879173
h48ei257:31000450
pythontbext0:30879054
cppperfnew:31000557
dwnewjupyter:31046869
nativerepl2:31139839
pythonrstrctxt:31112756
nativeloc2:31192216
iacca1:31171482
5fd0e150:31155592
dwcopilot:31170013
stablechunks:31184530
6074i472:31201624
dwoutputs:31217127
9064b325:31222308
copilot_t_ci:31222730
```
</details>
Steps to Reproduce
opened 11:27PM - 02 Feb 25 UTC
closed 08:33AM - 11 Jul 25 UTC
help wanted
polish
editor-color-picker
Type: <b>Bug</b>
Hex colors no longer show a preview, likely from this change: … https://github.com/microsoft/vscode/pull/233306
If a string begins with "#" without a leading whitespace, it should be a candidate for color preview. In the following code, rgb values show a preview, hex values do not.
```
contentPrimary: '#FFFFFF',
contentSecondary: 'rgba(255, 255, 255, 0.75)',
contentTertiary: 'rgba(255, 255, 255, 0.62)',
contentDisabled: 'rgba(255, 255, 255, 0.62)',
contentError: '#ED4964',
```

VS Code version: Code 1.96.4 (Universal) (cd4ee3b1c348a13bafd8f9ad8060705f6d4b9cba, 2025-01-16T00:16:19.038Z)
OS version: Darwin arm64 24.2.0
Modes:
<details>
<summary>System Info</summary>
|Item|Value|
|---|---|
|CPUs|Apple M4 (10 x 2400)|
|GPU Status|2d_canvas: enabled<br>canvas_oop_rasterization: enabled_on<br>direct_rendering_display_compositor: disabled_off_ok<br>gpu_compositing: enabled<br>multiple_raster_threads: enabled_on<br>opengl: enabled_on<br>rasterization: enabled<br>raw_draw: disabled_off_ok<br>skia_graphite: disabled_off<br>video_decode: enabled<br>video_encode: enabled<br>webgl: enabled<br>webgl2: enabled<br>webgpu: enabled<br>webnn: disabled_off|
|Load (avg)|1, 1, 1|
|Memory (System)|24.00GB (0.65GB free)|
|Process Argv|--crash-reporter-id 6d4ed78e-0cd6-432b-b48c-8ea5665c6a2a|
|Screen Reader|no|
|VM|0%|
</details>Extensions: none<details>
<summary>A/B Experiments</summary>
```
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvspyt551:31179978
vscod805:30301674
binariesv615:30325510
vsaa593:30376534
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
a9j8j154:30646983
962ge761:30959799
pythonnoceb:30805159
pythonmypyd1:30879173
h48ei257:31000450
pythontbext0:30879054
cppperfnew:31000557
dwnewjupyter:31046869
nativerepl2:31139839
pythonrstrctxt:31112756
nativeloc2:31192216
iacca1:31171482
5fd0e150:31155592
dwcopilot:31170013
stablechunks:31184530
6074i472:31201624
dwoutputs:31217127
9064b325:31222308
copilot_t_ci:31222730
```
</details>
Expected Behavior
color decorators should work for both hex colors and rgba colors
Screenshots / Screen Recordings
Operating System
Linux
Current Cursor Version (Menu → About Cursor → Copy)
Version: 2.1.48
VSCode Version: 1.105.1
Commit: ce371ffbf5e240ca47f4b5f3f20efed084991120
Date: 2025-12-04T19:26:27.263Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Linux x64 6.14.0-36-generic
Does this stop you from using Cursor
No - Cursor works, but with this issue
Colin
(Colin)
December 6, 2025, 12:08am
2
Hey @TimoDavid ,
I can confirm your suspicion. This fix hasn’t made it into Cursor yet.
While Cursor’s “About” dialog shows VSCode Version: 1.105.1, that currently refers to API compatibility, not the actual VSCode codebase.
We periodically merge upstream changes from VSCode, and the last merge was from version 1.99.3. So bug fixes made after that (including the hex color decorator fix from July) aren’t in Cursor yet.
This should be resolved when the next VSCode merge happens, but I don’t have an ETA for that!
1 Like
system
(system)
Closed
December 28, 2025, 12:08am
3
This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.