Skip to content

Incorrect syntax highlighting for rf strings #186

Description

@janosh

Environment data

  • VS Code version: 1.36.0
  • MagicPython version: 1.1.1
  • OS: macOS 10.14.5
  • Color scheme: Dark+ (default dark)
  • Python version: 3.6.7 (miniconda)

Expected behavior

Combining raw strings and f-strings, I'd expect syntax highlighting inside curly brackets.

f-string

Actual behavior

But what I get is the uniform dark red color of raw strings.

rf-string

Related

Issue was originally raised in microsoft/vscode-python#6572.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    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