-
Notifications
You must be signed in to change notification settings - Fork 39.1k
Formatting razor document fails #308293
Copy link
Copy link
Open
Description
Type: Bug
Issue Description
formatting razor document fails
Steps to Reproduce
Installed and uninstalled Prettier and CSharpier, try to format razor document
Expected Behavior
formats document
Actual Behavior
error:
2026-04-07 14:18:20.164 [error] Request textDocument/formatting failed.
Message: The changes must not overlap. (Parameter 'changes')
VS Code version: Code 1.114.0 (e7fb5e9, 2026-04-01T09:27:11Z)
OS version: Windows_NT x64 10.0.26200
Modes:
System Info
| Item | Value |
|---|---|
| CPUs | AMD Ryzen 9 5900X 12-Core Processor (24 x 3700) |
| GPU Status | 2d_canvas: enabled GPU0: VENDOR= 0x1002, DEVICE=0x744c [AMD Radeon RX 7900 GRE], DRIVER_VENDOR=AMD, DRIVER_VERSION=32.0.23033.1002 ACTIVE GPU1: VENDOR= 0x1414, DEVICE=0x008c [Microsoft Basic Render Driver], DRIVER_VERSION=10.0.26100.7309 Machine model name: Machine model version: 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 trees_in_viz: disabled_off video_decode: enabled video_encode: enabled webgl: enabled webgl2: enabled webgpu: enabled webnn: disabled_off |
| Load (avg) | undefined |
| Memory (System) | 31.93GB (14.78GB free) |
| Process Argv | --crash-reporter-id eeddfd8e-66d1-4cd0-b03f-b0c7e15fdbfc |
| Screen Reader | no |
| VM | 0% |
Extensions (11)
| Extension | Author (truncated) | Version |
|---|---|---|
| gitignore | cod | 0.10.0 |
| vscode-markdownlint | Dav | 0.61.2 |
| copilot-chat | Git | 0.42.3 |
| vscode-github-actions | git | 0.31.3 |
| geminicodeassist | goo | 2.77.0 |
| vscode-dbml | mat | 0.4.1 |
| csdevkit | ms- | 3.10.14 |
| csharp | ms- | 2.130.5 |
| vscode-dotnet-runtime | ms- | 3.0.0 |
| vscode-xml | red | 0.29.0 |
| dftemplate | the | 0.19.1 |
A/B Experiments
vsliv368cf:30146710
binariesv615:30325510
nativeloc1:31344060
dwcopilot:31170013
bajee813:31263137
dwoutputs:31242946
copilot_t_ci:31333650
e5gg6876:31282496
pythonrdcb7:31342333
6518g693:31463988
aj953862:31281341
4f60g487:31327383
6abeh943:31336334
envsdeactivate2:31464701
cloudbuttont:31379625
3efgi100_wstrepl:31403338
use-responses-api:31390855
je187915:31454425
ec5jj548:31422691
cp_cls_c_966_ss:31454199
4je02754:31466945
8hhj4413:31478653
2bd77578_control:31488152
38bie571_auto:31426784
cp_cls_c_1081:31454833
conptydll_true:31489736
ia-use-proxy-models-svc:31452481
e9c30283:31461165
test_treatment2:31471001
idci7584:31464702
nes-ftch-ctrl:31485414
3bj34942:31489864
534a6447_copy:31478748
chat:31457767
8hig5102:31480529
67jbj424:31490470
t-some:31486549
cpptoolsoff-v2:31475362
23c7c724:31488001
ddid_c:31478207
getcmakediagnosticsoff:31489825
ja75b849:31489811
nes-perm-reb-0:31490411
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels