Skip to content
This repository has been archived by the owner on Nov 5, 2021. It is now read-only.

Add rust colorization support #31

Merged

Conversation

systemsoverload
Copy link

RE: microsoft/monaco-editor#130

Add basic colorization support for Rust. There are likely some flaws in here due to the complex nature of tokenizing Rust, but it's a fairly good start. Manually validated many of the edge cases provided by https://github.com/rust-lang/rust-enhanced/blob/master/syntax_test_rust.rs and it seems to be fully functioning.

@msftclas
Copy link

msftclas commented Mar 30, 2018

CLA assistant check
All CLA requirements met.

@alexdima
Copy link
Member

alexdima commented Apr 9, 2018

Thank you! ❤️

@alexdima alexdima merged commit f3912ea into microsoft:master Apr 9, 2018
@systemsoverload
Copy link
Author

systemsoverload commented Apr 9, 2018

No problem. I will have quite a few more of these to contribute in the coming months as we (Bitbucket) roll out Monaco to prod. Did you use a tool like eslint to re-format the code? If so, I'd love to just use your config to save you the work in the future.

@alexdima
Copy link
Member

Looking forward to further contributions! ❤️

No problem, I'm just running the format action in vscode (shift-alt-f on OSX). That would use the default TypeScript formatter settings I believe...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants