Skip to content

Restored files don't get classification until scroll or document change #8705

@davidwengier

Description

@davidwengier

Repros with and without devkit. Also repros with Razor files (with cohosting on)

Repro steps:

  1. dotnet new console
  2. code .
  3. Open Progam.cs
  4. Close VS Code
  5. code .

Actual behaviour:

Console is blueish until the document is scrolled, or changed, or presumably any other change that causes a project change of some kind

Expected behaviour:

Once fully loaded, Console should be greenish.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions