Skip to content

T-string interpolation expressions are higlighted as string parts #2539

@chry-santhemum

Description

@chry-santhemum

In strings, the following are not highlighted:

  1. Escape sequences like \n, \t, \\ are shown in the same color as regular string text escape sequences not highlighted in strings #2552
  2. In f-strings like f"""{keyname}""", the {keyname} expression is in the same color as regular string text

Expected: Escape sequences should have distinct coloring, and identifiers inside f-string braces should receive semantic token classification.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingserverRelated to the LSP server

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions