Skip to content

Opening Open Changes -> Open Changes With Previous Version raise Request textDocument/semanticTokens/range failed. #8666

@m4ss1m0g

Description

@m4ss1m0g

Type: Bug

Issue Description

I have C# dev kit disabled and use omnisharp, I have also tried with C# dev Kit but popup a different error message.

When Open Changes -> Open Changes With Previous Version or anything like this raises Request textDocument/semanticTokens/range failed.

Steps to Reproduce

  1. Open a csproj with git versions
  2. Select the file from the explorer and click DX -> Open Changes -> Open Changes With Previous Version
  3. Close the diff page
  4. Click on the file
  5. A message appears with Request textDocument/semanticTokens/range failed

Expected Behavior

No errors

Actual Behavior

Intellisense is broken, moving up/down continuously pops up the message

Extension version: 2.90.60
VS Code version: Code 1.104.2 (e3a5acfb517a443235981655413d566533107e92, 2025-09-24T11:21:37.073Z)
OS version: Linux x64 6.16.8-200.fc42.x86_64
Modes:

Logs

Environment Information

VSCode version: 1.104.2
C# Extension: 2.90.60
Using OmniSharp: true

Mono Information Unable to find Mono. Ensure that Mono's '/bin' folder is added to your environment's PATH variable.
Dotnet Information .NET SDK: Version: 9.0.304 Commit: f12f5f689e Workload version: 9.0.300-manifests.70d87660 MSBuild version: 17.14.16+5d8159c5f

Runtime Environment:
OS Name: fedora
OS Version: 42
OS Platform: Linux
RID: linux-x64
Base Path: /home/massimo/.dotnet/sdk/9.0.304/

.NET workloads installed:
There are no installed workloads to display.
Configured to use loose manifests when installing new manifests.

Host:
Version: 9.0.8
Architecture: x64
Commit: aae90fa090

.NET SDKs installed:
6.0.428 [/home/massimo/.dotnet/sdk]
7.0.410 [/home/massimo/.dotnet/sdk]
8.0.413 [/home/massimo/.dotnet/sdk]
9.0.304 [/home/massimo/.dotnet/sdk]

.NET runtimes installed:
Microsoft.AspNetCore.App 6.0.36 [/home/massimo/.dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 7.0.20 [/home/massimo/.dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 8.0.19 [/home/massimo/.dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 9.0.8 [/home/massimo/.dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 6.0.36 [/home/massimo/.dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 7.0.20 [/home/massimo/.dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 8.0.19 [/home/massimo/.dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 9.0.8 [/home/massimo/.dotnet/shared/Microsoft.NETCore.App]

Other architectures found:
None

Environment variables:
DOTNET_ROOT [/home/massimo/.dotnet]

global.json file:
Not found

Learn more:
https://aka.ms/dotnet/info

Download .NET:
https://aka.ms/dotnet/download

Visual Studio Code Extensions
Extension Author Version Folder Name
better-comments aaron-bond 3.0.2 aaron-bond.better-comments-3.0.2
blazorwasm-companion ms-dotnettools 1.1.4 ms-dotnettools.blazorwasm-companion-1.1.4
Bookmarks alefragnani 13.5.0 alefragnani.bookmarks-13.5.0
color-highlight naumovs 2.8.0 naumovs.color-highlight-2.8.0
colorful-comments ParthR2031 1.0.0 parthr2031.colorful-comments-1.0.0
command-variable rioj7 1.67.0 rioj7.command-variable-1.67.0
continue Continue 1.2.6 continue.continue-1.2.6-linux-x64
csharp ms-dotnettools 2.90.60 ms-dotnettools.csharp-2.90.60-linux-x64
debug-visualizer hediet 2.4.0 hediet.debug-visualizer-2.4.0
dotnet-core-add solidcube 0.2.1 solidcube.dotnet-core-add-0.2.1
dotnet-interactive-vscode ms-dotnettools 1.0.6323010 ms-dotnettools.dotnet-interactive-vscode-1.0.6323010
doxdocgen cschlosser 1.4.0 cschlosser.doxdocgen-1.4.0
EditorConfig EditorConfig 0.17.4 editorconfig.editorconfig-0.17.4
errorlens usernamehw 3.26.0 usernamehw.errorlens-3.26.0
git-log--graph phil294 0.1.33 phil294.git-log--graph-0.1.33
gitlens eamodio 17.5.1 eamodio.gitlens-17.5.1
hexeditor ms-vscode 1.11.1 ms-vscode.hexeditor-1.11.1
intellicode-api-usage-examples VisualStudioExptTeam 0.2.9 visualstudioexptteam.intellicode-api-usage-examples-0.2.9
jupyter ms-toolsai 2025.8.0 ms-toolsai.jupyter-2025.8.0-linux-x64
jupyter-keymap ms-toolsai 1.1.2 ms-toolsai.jupyter-keymap-1.1.2
jupyter-renderers ms-toolsai 1.3.0 ms-toolsai.jupyter-renderers-1.3.0
live-server ms-vscode 0.4.16 ms-vscode.live-server-0.4.16
LiveServer ritwickdey 5.7.9 ritwickdey.liveserver-5.7.9
markdown-all-in-one yzhang 3.6.3 yzhang.markdown-all-in-one-3.6.3
material-icon-theme PKief 5.27.0 pkief.material-icon-theme-5.27.0
material-product-icons PKief 1.7.1 pkief.material-product-icons-1.7.1
msbuild-project-tools tintoy 0.6.7 tintoy.msbuild-project-tools-0.6.7
nginx-formatter raynigon 0.0.13 raynigon.nginx-formatter-0.0.13
nugetpackagemanagergui aliasadidev 2.1.1 aliasadidev.nugetpackagemanagergui-2.1.1
output-colorizer IBM 0.1.2 ibm.output-colorizer-0.1.2
prettier-vscode esbenp 11.0.0 esbenp.prettier-vscode-11.0.0
project-manager alefragnani 12.8.0 alefragnani.project-manager-12.8.0
rainbow-csv mechatroner 3.22.0 mechatroner.rainbow-csv-3.22.0
remote-containers ms-vscode-remote 0.427.0 ms-vscode-remote.remote-containers-0.427.0
remote-explorer ms-vscode 0.5.0 ms-vscode.remote-explorer-0.5.0
remote-server ms-vscode 1.5.3 ms-vscode.remote-server-1.5.3
remote-ssh ms-vscode-remote 0.120.0 ms-vscode-remote.remote-ssh-0.120.0
remote-ssh-edit ms-vscode-remote 0.87.0 ms-vscode-remote.remote-ssh-edit-0.87.0
rest-client humao 0.25.1 humao.rest-client-0.25.1
theme-dracula dracula-theme 2.25.1 dracula-theme.theme-dracula-2.25.1
todo-tree Gruntfuggly 0.0.226 gruntfuggly.todo-tree-0.0.226
trxviewer scabana 1.0.3 scabana.trxviewer-1.0.3
user-secrets adrianwilczynski 2.0.1 adrianwilczynski.user-secrets-2.0.1
vscode-containers ms-azuretools 2.2.0 ms-azuretools.vscode-containers-2.2.0
vscode-coverage-gutters ryanluker 2.14.0 ryanluker.vscode-coverage-gutters-2.14.0
vscode-dotnet-runtime ms-dotnettools 2.3.7 ms-dotnettools.vscode-dotnet-runtime-2.3.7
vscode-github-actions github 0.27.2 github.vscode-github-actions-0.27.2
vscode-inline-values-powershell TylerLeonhardt 0.0.7 tylerleonhardt.vscode-inline-values-powershell-0.0.7
vscode-jupyter-cell-tags ms-toolsai 0.1.9 ms-toolsai.vscode-jupyter-cell-tags-0.1.9
vscode-jupyter-slideshow ms-toolsai 0.1.6 ms-toolsai.vscode-jupyter-slideshow-0.1.6
vscode-markdownlint DavidAnson 0.60.0 davidanson.vscode-markdownlint-0.60.0
vscode-nginx-conf ahmadalli 0.3.5 ahmadalli.vscode-nginx-conf-0.3.5
vscode-nuget-gallery patcx 1.2.4 patcx.vscode-nuget-gallery-1.2.4
vscode-taskexplorer spmeesseman 2.13.14 spmeesseman.vscode-taskexplorer-2.13.14
vscode-versionlens pflannery 1.22.4 pflannery.vscode-versionlens-1.22.4
vscode-wakatime WakaTime 25.3.2 wakatime.vscode-wakatime-25.3.2
vscode-yaml redhat 1.19.0 redhat.vscode-yaml-1.19.0
vscodeintellicode VisualStudioExptTeam 1.3.2 visualstudioexptteam.vscodeintellicode-1.3.2
xml DotJoshJohnson 2.5.1 dotjoshjohnson.xml-2.5.1
C# Settings
Setting Value
preferCSharpExtension false
compilerDiagnosticScope openFiles
analyzerDiagnosticScope openFiles
enableXamlTools true
useServerGC true
System Info
Item Value
CPUs AMD Ryzen AI 9 HX 370 w/ Radeon 890M (24 x 4809)
GPU Status 2d_canvas: enabled
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: disabled_software
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off
webnn: disabled_off
Load (avg) 0, 1, 1
Memory (System) 30.41GB (13.97GB free)
Process Argv --crash-reporter-id d4215fcf-52f9-4b8d-a52d-0657c968ba9c
Screen Reader no
VM 0%
DESKTOP_SESSION gnome
XDG_CURRENT_DESKTOP GNOME
XDG_SESSION_DESKTOP gnome
XDG_SESSION_TYPE wayland
A/B Experiments
vsliv368:30146709
vswsl492cf:30256860
binariesv615:30325510
nativeloc1:31344060
dwcopilot:31170013
dwoutputs:31242946
copilot_t_ci:31333650
e5gg6876:31282496
996jf627:31283433
pythonrdcb7:31342333
usemplatestapi:31297334
aj953862:31281341
cs4_fixed:31391938
nes-set-on:31351930
onetestforazureexp:31335613
6abeh943:31336334
aa_t:31379598
0cj2b977:31352657
gendocstringt:31387974
cloudbuttont:31379625
todos-0:31390406
multireplacestring:31393295
control_gpt5applypatchexclusively:31392057
3efgi100_wstrepl:31382709
metis-embeddings:31388492
trigger-command-fix:31379601
auto_model_enabled:31385282
use-responses-api:31390855
gemagent1cf:31387341

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions