Skip to content

cfg highlighting is inconsistent #6381

@schungx

Description

@schungx

The newest version has cfg highlighting, essentially graying out the code shielded by an inactive feature gate.

This is a great feature, except that I find it inconsistent.

First I'd load a file, and it would color fine. Then I'll switch to another file, and it won't color at all. Then I switch back to the original file, and it'll lose the coloring.

Sometimes it'll suddenly come back after a while, sometimes it won't.

Usually when I restart Visual Studio Code, it'll work fine the first time. Then not afterwards.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions