rust-lang/sublime-rust

The official Sublime Text 4 package for the Rust Programming Language

830

stars

522

commits

Python

primary language

Jul 29, 2026

updated

README

Rust Enhanced

About

Rust Enhanced is a Sublime Text package which adds extended support for the Rust Programming Language. This is a replacement for the built-in "Rust" package and provides several extensions:

  • Enhanced syntax highlighting which handles more recent language changes and improved highlighting.
  • A custom build system with complete configuration of running Cargo and supporting Rust's extended error messages.
  • Automatic checking every time you save a file.
  • Custom highlighting for Cargo output.

Running Tests with Rust Enhanced Highlighting errors and warnings with Rust Enhanced

Installation and Usage

See the Rust Enhanced User Guide for complete information on installing and using this package.

Contributing

Development is quite simple, first uninstall "Rust Enhanced" if you already have it installed. Then, check out this project to your Sublime Text Packages folder.

Syntax definitions are defined in the RustEnhanced.sublime-syntax file, and syntax tests are in the tests/syntax-rust directory.

The PackageDev package is highly recommended for doing development.

Credits

Created 2012 by Daniel Patterson, as a near complete from scratch rewrite of a package by Felix Martini.

This project is currently maintained by Eric Huss

License

This package is licensed under the MIT License.

Contributors

(top 30 of 55)

ehuss

244 commits

bors[bot]

44 commits

Jayflux

33 commits

jhasse

27 commits

rust-lang/sublime-rust

The official Sublime Text 4 package for the Rust Programming Language

830

stars

522

commits

Python

primary language

Jul 29, 2026

updated

README

Rust Enhanced

About

Rust Enhanced is a Sublime Text package which adds extended support for the Rust Programming Language. This is a replacement for the built-in "Rust" package and provides several extensions:

  • Enhanced syntax highlighting which handles more recent language changes and improved highlighting.
  • A custom build system with complete configuration of running Cargo and supporting Rust's extended error messages.
  • Automatic checking every time you save a file.
  • Custom highlighting for Cargo output.

Running Tests with Rust Enhanced Highlighting errors and warnings with Rust Enhanced

Installation and Usage

See the Rust Enhanced User Guide for complete information on installing and using this package.

Contributing

Development is quite simple, first uninstall "Rust Enhanced" if you already have it installed. Then, check out this project to your Sublime Text Packages folder.

Syntax definitions are defined in the RustEnhanced.sublime-syntax file, and syntax tests are in the tests/syntax-rust directory.

The PackageDev package is highly recommended for doing development.

Credits

Created 2012 by Daniel Patterson, as a near complete from scratch rewrite of a package by Felix Martini.

This project is currently maintained by Eric Huss

License

This package is licensed under the MIT License.

Contributors

(top 30 of 55)

ehuss

244 commits

bors[bot]

44 commits

Jayflux

33 commits

jhasse

27 commits

Languages

Python

62.3%

Rust

37.5%