Skip to content

[LSP] Semantic tokens: Document null when first opening a Razor file #54547

@allisonchou

Description

@allisonchou

When a Razor file is opened, Roslyn at first is unable to find the Razor document, i.e. context.Document is null. However, the problem eventually resolves itself after a period of time. We should determine the core issue and implement a long-term solution.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions