-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rust: Broken highlighting of escape sequences in char literals #2481
Closed
Labels
bug
Issue identified by VS Code Team member as probable bug
grammars
help wanted
Issues identified as good community contribution opportunities
Comments
alexdima
added
bug
Issue identified by VS Code Team member as probable bug
grammars
labels
May 18, 2021
We are more than welcoming a PR by the community! |
alexdima
added
the
help wanted
Issues identified as good community contribution opportunities
label
May 18, 2021
ghost
mentioned this issue
Jun 29, 2021
arlosi
pushed a commit
to arlosi/monaco-editor
that referenced
this issue
Oct 29, 2021
arlosi
pushed a commit
to arlosi/monaco-editor
that referenced
this issue
Oct 29, 2021
arlosi
pushed a commit
to arlosi/monaco-editor
that referenced
this issue
Oct 29, 2021
fix char literal highlighting microsoft#2481
arlosi
added a commit
to arlosi/monaco-editor
that referenced
this issue
Oct 29, 2021
…apes. Rust's raw strings were previously not supported, and chars did not correctly handle escapes. Fixes microsoft#2552 Fixes microsoft#2481
arlosi
added a commit
to arlosi/monaco-editor
that referenced
this issue
Oct 29, 2021
…apes. Rust's raw strings were previously not supported, and chars did not correctly handle escapes. Fixes microsoft#2552 Fixes microsoft#2481
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
bug
Issue identified by VS Code Team member as probable bug
grammars
help wanted
Issues identified as good community contribution opportunities
monaco-editor version: 0.24.0
Browser: Chrome
**OS:**Linux
Rust char literals containing an escape sequence such as '\n' don't get highlighted correctly and '"' even breaks highlighting of the following code:
Pasting this into https://microsoft.github.io/monaco-editor/ and selecting 'Rust' reproduces the issue.
See compiler-explorer/compiler-explorer#2665
The text was updated successfully, but these errors were encountered: