Microsoft/monaco-editor

[Bug] Incorrect Raw String Literals formatting

Open

#5085 opened on Nov 5, 2025

View on GitHub
 (0 comments) (0 reactions) (0 assignees)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

Contributor guide