Describe the Issue
The language server stops working after the razor file is closed in the git tree page.
Steps To Reproduce
- make app. dotnet new blazorwasm
- initialize git
- make commit with all files
- make any changes to the Counter.razor file
- in vscode open the standard tab Source Control in Primary Side Bar
- click on Counter.Razor in the Changes section
- close the Counter.razor (Working Tree) tab that opens
Example in video
https://github.com/user-attachments/assets/a7f2e605-214c-41af-8a82-abffc35fade7
after reopening and performing the same actions. The error repeats
Expected Behavior
The language server should continue to work
Environment Information
Version: 1.108.1 (Universal)
Commit: 585eba7c0c34fd6b30faac7c62a42050bfbc0086
Date: 2026-01-14T14:55:44.241Z (6 days ago)
Electron: 39.2.7
ElectronBuildId: 12953945
Chromium: 142.0.7444.235
Node.js: 22.21.1
V8: 14.2.231.21-electron.0
OS: Darwin arm64 25.2.0
- .NET Install Tool 3.0.0
- C# 2.110.4
- C# Dev Kit 1.90.2