Microsoft/monaco-editor

[Bug] Incorrect Raw String Literals formatting

Open

Aperta il 5 nov 2025

Vedi su GitHub
 (0 commenti) (0 reazioni) (0 assegnatari)JavaScript (14.836 star) (1283 fork)batch import
help wantedlanguages-basic

Descrizione

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

Guida contributor