Trabla: Sublime Text 2: rust highlight
This tutorial explains how to install Rust lang plugin for Sublime Text 2 on windows platform.
By default Sublime Text 2 not supports Rust lang.
Solving:
1. Goto Rust plugin page in GitHub
https://github.com/rust-lang/sublime-rust
and click "Download ZIP" button
2. Open folder where Sublime Text 2 stores packages and create folder "Rust"
%APPDATA%/Sublime Text 2/Packages/
For example on my PC:
C:\Users\samuraikit\AppData\Roaming\Sublime Text 2\Packages
3. Copy all files from downloaded archive into folder Rust in Sublime 2 Packages directory
e.g. C:\Users\samuraikit\AppData\Roaming\Sublime Text 2\Packages\Rust
4. Restart Sublime Text 2 and open any .rs ( Rust ) file
Hooray !!! it works :)
No comments:
Post a Comment