Microsoft/monaco-editor

[Bug] Incorrect Raw String Literals formatting

Open

#5,085 opened on Nov 5, 2025

View on GitHub
 (0 comments) (0 reactions) (0 assignees)JavaScript (1,283 forks)batch import
help wantedlanguages-basic

Repository metrics

Stars
 (14,836 stars)
PR merge metrics
 (Avg merge 17h 9m) (14 merged PRs in 30d)

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

Contributor guide