Skip to content

The language server stops working after the razor file is closed in the git tree page. #2708

@swsyndev976d

Description

@swsyndev976d

Describe the Issue

The language server stops working after the razor file is closed in the git tree page.

Steps To Reproduce

  1. make app. dotnet new blazorwasm
  2. initialize git
  3. make commit with all files
  4. make any changes to the Counter.razor file
  5. in vscode open the standard tab Source Control in Primary Side Bar
  6. click on Counter.Razor in the Changes section
  7. 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

  • Os macOs Tahoe 26.2

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions