Skip to content

Preview LSP Option changing syntax highlighting #3155

@HadyMash

Description

@HadyMash

Describe the bug
When the LSP Preview option is enabled, the syntax highlighting gets messed up and anything that was previously white with the OneDark Pro theme (not sure about other themes) becomes red. Turning off Preview LSP fixed the issue.

To Reproduce
Steps to reproduce the behavior:

  1. Enable Preview LSP
  2. Cmd/Ctrl + Shift + P and then reload window.
  3. Let VS Code load a .dart file.

Expected behavior
It should be white (One Dark Pro)

Versions (please complete the following information):

  • VS Code version: 1.53.2
  • Dart extension version: 3.19.2
  • Dart/Flutter SDK version: 2.12.0-204.0.dev

Metadata

Metadata

Assignees

No one assigned

    Labels

    other extensionSomething caused by another extension

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions