[Bug] CPP raw string literals with quotes in delimiter breaks colorization #3128
Closed
1 of 2 tasks
Labels
bug
Issue identified by VS Code Team member as probable bug
help wanted
Issues identified as good community contribution opportunities
tokenization
Milestone
Reproducible in vscode.dev or in VS Code Desktop?
Reproducible in the monaco editor playground?
Monaco Editor Playground Code
Actual Behavior
Colorization is broken in the code window, after the raw string literal.
This seems to be due to the used delimiter, which contains double quotes.
Expected Behavior
The following line
std::cout << "hello";
Should not be colorized fully in 'string colour'.
Additional Context
This issue was first opened on godbolt, I was told to report it upstream.
compiler-explorer/compiler-explorer#3684
Note: for the playground editor, I went here: https://microsoft.github.io/monaco-editor/index.html
set the language to CPP before pasting the code, the playground seemed JS only.
The text was updated successfully, but these errors were encountered: