Sublime Forum

Can it be programmed in Rust language with Sublime text?

#1

I want to learn how to program in Rust in Sublime because it is a very light text editor, VSCode is not entirely light on my PC and of course IntelliJ IDEA does not serve me either.

I would like to know if Sublime Text suitable enough to program in Rust or I stay with VSCode?

Thank you for your time.

0 Likes

#2

Rust is supported out of the box.

0 Likes

#3

Just to clarify “out of the box” here (Since there have been outbursts when it was said “TypeScript is supported out of the box” in ST4). The phrase “out of the box” in this context means

  1. You get syntax higighting for free.
  2. Any functionality in ST that is powered by a syntax definition like Goto definition/reference, comments, indentation etc.
0 Likes

#4

These days I would also suggest you install LSP together with LSP-rust-analyzer (or define your own client configuration).

0 Likes

#5

and just to add to this, a build system for Cargo (and rustc directly) is included as well

0 Likes