Skip to content

Syntax highlight confusing in unicode string formatting #2575

@tgarm

Description

@tgarm

When syntax highlight a unicode string, the syntax highlight does not very correct.
For instance, to format a value val in string may look like:

  • Without bracket
    WeChate216463751653492a1ec45db890cf583

This seems will format val世界 instead of val.

  • With bracket
    WeChat50ebba0060b5bfb3b4adfa2492c7cc74

This shows brackets are not needed.

It seems confusing how to correctly format val in this string in this syntax highlight.

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 server

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions