Open
Description
Type: Bug
Description: the syntax highlighter incorrectly colors string interpolation when using collection expressions like string[] array = [...] followed by method calls with interpolated strings
Steps to reproduce: Paste your code snippet
Expected vs Actual: Expected proper syntax highlighting, but getting incorrect coloring
Info(
$"Hello: '{thing}'",
$"Foo: {string.Join(", ", fooz)}",
$"Bar: {string.Join(", ", barz)}"
);

VS Code version: Code - Insiders 1.102.0-insider (Universal) (cb0c47c, 2025-07-09T22:07:16.337Z)
OS version: Darwin x64 24.5.0
Modes:
System Info
Item | Value |
---|---|
CPUs | Intel(R) Core(TM) i5-1038NG7 CPU @ 2.00GHz (8 x 2000) |
GPU Status | 2d_canvas: enabled canvas_oop_rasterization: enabled_on direct_rendering_display_compositor: disabled_off_ok gpu_compositing: enabled multiple_raster_threads: enabled_on opengl: enabled_on rasterization: enabled raw_draw: disabled_off_ok skia_graphite: disabled_off video_decode: enabled video_encode: enabled webgl: enabled webgl2: enabled webgpu: enabled webnn: disabled_off |
Load (avg) | 3, 6, 6 |
Memory (System) | 16.00GB (0.05GB free) |
Process Argv | --crash-reporter-id b39d8ee2-9f8e-4e6e-8781-b7ed6d19b1f9 |
Screen Reader | no |
VM | 0% |
Extensions (14)
Extension | Author (truncated) | Version |
---|---|---|
vscode-tailwindcss | bra | 0.14.25 |
vscode-eslint | dba | 3.0.15 |
prettier-vscode | esb | 11.0.0 |
copilot | Git | 1.342.0 |
copilot-chat | Git | 0.29.2025070903 |
csdevkit | ms- | 1.30.35 |
csharp | ms- | 2.84.19 |
vscode-dotnet-runtime | ms- | 2.3.6 |
debugpy | ms- | 2025.8.0 |
python | ms- | 2025.8.1 |
vscode-pylance | ms- | 2025.6.2 |
indent-rainbow | ode | 8.3.1 |
vscode-nuget-gallery | pat | 1.2.4 |
svelte-vscode | sve | 109.9.0 |
A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvspyt551:31249597
c4g48928:30535728
vscrpc:30624061
962ge761:30841072
h48ei257:31000450
cppperfnew:30980852
dwnewjupytercf:31046870
nativeloc1:31118317
e80f6927:31120813
dwcopilot:31158714
c3hdf307:31184662
6074i472:31201624
dwoutputs:31242946
customenabled:31248079
hdaa2157:31222309
copilot_t_ci:31333650
g012b348:31231168
pythoneinst12:31251391
c7cif404:31309980
pythonpulldiag:31287486
6gi0g917:31259950
996jf627:31264550
pythonrdcb7:31268811
usemplatestapi:31297334
jdghv92:31317040
747dc170:31275146
6518g693:31302842
generatesymbolt:31280541
convertfstringf:31280702
b99bg931:31306656
usemarketplace:31343026
0g1h6703:31329154
mytestcf:31335658
4f60g487:31327383
nes-emitfast-1:31333560
replacestringexc:31340153
onetestforazureexp:31335613
6abeh943:31336334
envsdeactivate2:31343187
0927b901:31340060
jbdfg126:31340538
4gdec884:31342391