You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
constvalue=/* set from `myEditor.getModel()`: */`fn main() { let a = r#"abc\\"#; let b = br"abc\\"; let c = cr"abc\\";}`;// Hover on each property to see its docs!constmyEditor=monaco.editor.create(document.getElementById("container"),{
value,language: "rust",automaticLayout: true,});
Reproduction Steps
Create and editor which includes rust code that uses br"\" or cr"\" raw strings.
Actual (Problematic) Behavior
The br and cr strings are treated as normal strings with escapes.
Expected Behavior
The br and cr strings should be treated as raw strings.