Skip to content

Dart code in vscode semantic token type seems wired. #5324

@allnan

Description

@allnan

Hello there,
there are some issues when custom my vscode code hightlight.
image

I think both key1 and key2 are parameter.label , but why doesn't key1 have modifiers? How can I fix this, thank you.

environment:
Dart Code extension: 3.98.1
Flutter extension: 3.98.0 (activated)

App: Visual Studio Code
App Host: desktop
Version: win 1.94.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    in editorRelates to code editing or language featuresin lsp/analysis serverSomething to be fixed in the Dart analysis serveris bugrelies on sdk changesSomething that requires changes in the Dart/Flutter SDK to ship before it will become available

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions