-
Notifications
You must be signed in to change notification settings - Fork 727
Closed
dotnet/razor
#12239Labels
RazorfixedFixed and available in the stable version of C# Extension.Fixed and available in the stable version of C# Extension.
Milestone
Description
Environment data
dotnet: 8.0.119
VS Code version: 1.103.2
C# Extension version: 2.90.60 -- latest, released today
C# logs
C# output window contents:
2025-09-12 05:59:48.006 [error] Request textDocument/hover failed.
Message: Could not get the code document
Code: -32000
[object Object]
2025-09-12 05:59:48.397 [error] Request textDocument/documentHighlight failed.
Message: Could not get the code document
Code: -32000
[object Object]
2025-09-12 05:59:48.504 [error] Request textDocument/codeLens failed.
Message: Could not get the generated document
Code: -32000
[object Object]
2025-09-12 05:59:49.124 [error] Request textDocument/completion failed.
Message: Could not get the code document
Code: -32000
[object Object]
2025-09-12 05:59:49.131 [error] Request textDocument/inlayHint failed.
Message: Could not get the code document
Code: -32000
[object Object]
2025-09-12 05:59:49.134 [error] Request textDocument/inlayHint failed.
Message: Could not get the code document
Code: -32000
[object Object]
2025-09-12 05:59:49.134 [error] Request textDocument/linkedEditingRange failed.
Message: Could not get the code document
Code: -32000
[object Object]
2025-09-12 05:59:49.162 [error] Request textDocument/semanticTokens/range failed.
Message: Could not get the code document
Code: -32000
[object Object]
2025-09-12 05:59:49.165 [error] Request textDocument/semanticTokens/range failed.
Message: Could not get the code document
Code: -32000
[object Object]
2025-09-12 05:59:49.224 [error] Request textDocument/semanticTokens/range failed.
Message: Could not get the code document
Code: -32000
[object Object]
2025-09-12 05:59:49.226 [error] Request textDocument/semanticTokens/range failed.
Message: Could not get the code document
Code: -32000
[object Object]
2025-09-12 05:59:49.290 [error] Request textDocument/codeLens failed.
Message: Could not get the generated document
Code: -32000
[object Object]
2025-09-12 05:59:49.292 [error] Request textDocument/codeAction failed.
Message: Could not get the code document
Code: -32000
[object Object]
2025-09-12 05:59:49.854 [error] Request textDocument/inlayHint failed.
Message: Could not get the code document
Code: -32000
[object Object]
2025-09-12 05:59:49.860 [error] Request textDocument/inlayHint failed.
Message: Could not get the code document
Code: -32000
[object Object]
2025-09-12 05:59:51.395 [error] Request textDocument/codeLens failed.
Message: Could not get the generated document
Code: -32000
[object Object]
...many more of the same
Steps to reproduce
- Open
Foo.cshtml - Hover over some variable for intellisense, or press dot after some variable to get autocomplete
Expected behavior
Intellisense and Autocomplete
Actual behavior
No Intellisense, no autocomplete
Additional context
Problem started after upgrade to latest version 2.90.60
Works after rollback to previous version 2.87.31
Metadata
Metadata
Assignees
Labels
RazorfixedFixed and available in the stable version of C# Extension.Fixed and available in the stable version of C# Extension.