Microsoft/monaco-editor

[Bug] Incorrect Raw String Literals formatting

Open

#5 085 ouverte le 5 nov. 2025

Voir sur GitHub
 (0 commentaires) (0 réactions) (0 assignés)JavaScript (14 836 stars) (1 283 forks)batch import
help wantedlanguages-basic

Description

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

Guide contributeur