Menu

#553 Rust edit mode

None
closed-accepted
None
5
2015-05-17
2015-04-08
No

Rust released version 1.0-beta a few days ago: http://www.rust-lang.org/ I've attached a patch that adds a Rust edit mode to jEdit.

Rust has several keywords reserved that are currently unused but are likely to be used in the future. I have left them out of the edit mode because I don't know if or how they will be used.

Auto indent is really easy because braces are required for anything that increases indent (like an if statement).

Here is an example I've used to test that the highlighting is correct:

https://gist.github.com/jminer/401fafd13107d512a40f

1 Attachments

Discussion

  • Alan Ezust

    Alan Ezust - 2015-05-17

    Committed 23907.
    Thanks!

     
  • Alan Ezust

    Alan Ezust - 2015-05-17
    • status: open --> closed-accepted
    • assigned_to: Alan Ezust
    • Group: -->
     

Log in to post a comment.