← Winnitude! Search  ·  Reader Mode (2233 ms)
Links: Stay in Reader Retro Site Converter Retro Mode: OFF Original Page ↗
GITHUB · 9 LINKS

Wrong highlight for raw string · Issue #259 · MagicStack/MagicPython

Repository navigation

Wrong highlight for raw string  #259


New issue

New issue

Open

Open
Wrong highlight for raw string #259

Description

@alexr00's profile alexr00 opened on Aug 16, 2023
  • Editor name and version : VS Code 1.81.1
  • Platform : any
  • Color scheme : any
  • MagicPython version : 7d0f2b2
  • A sreenshot :
    Expected

Actual: The \ of a raw string is the \ and not the escape character, but the hignlight still treats them as escapes.

  • 5-10 lines of surrounding code :
print(r"C:\Users\test")

Originally from @AuroraTea in microsoft/vscode#190519

Reacted by Rob Parker, Aurik Sarker, Gilberto Agostinho, Tomokazu Katayama, DetachHead and Alf Frank

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