Sublime Text 2: rust highlight

Trabla: Sublime Text 2: rust highlight


Sublime Text 2 rust highlight


This tutorial explains how to install Rust lang plugin for Sublime Text 2 on windows platform.

Sublime Text 2 rust highlight plugin tutorial screenshot 1


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

Sublime Text 2 rust highlight plugin tutorial screenshot 2

Sublime Text 2 rust highlight plugin tutorial screenshot 3


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

Sublime Text 2 rust highlight plugin tutorial screenshot 4

Sublime Text 2 rust highlight plugin tutorial screenshot 5

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

Sublime Text 2 rust highlight plugin tutorial screenshot 6

4. Restart Sublime Text 2 and open any .rs ( Rust ) file

Sublime Text 2 rust highlight plugin tutorial screenshot 7


Hooray !!! it works :)

Sublime Text 2 rust highlight plugin tutorial screenshot 8



No comments:

Post a Comment