Microsoft/monaco-editor

[Bug] Incorrect Raw String Literals formatting

Open

#5.085 geöffnet am 5. Nov. 2025

Auf GitHub ansehen
 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (14.836 Stars) (1.283 Forks)batch import
help wantedlanguages-basic

Beschreibung

Reproducible in vscode.dev or in VS Code Desktop?

  • Not reproducible in vscode.dev or VS Code Desktop

Reproducible in the monaco editor playground?

Monaco Editor Playground Link

This issue is for C#

Raw String Literals do not work on the playground, but Verbatim String Literals do. They should have a similar behavior.

Monaco Editor Playground Code

Console.WriteLine("""
    Prime Numbers :
    sxsxcs
    xsxs 
""");

Reproduction Steps

Actual (Problematic) Behavior

No response

Expected Behavior

No response

Additional Context

No response

Contributor Guide