# Found two editors with built-in rust support

**URL:** <https://users.rust-lang.org/t/found-two-editors-with-built-in-rust-support/16006>\
**Category:** community\
**Created:** [March 6, 2018, 12:33am UTC](https://users.rust-lang.org/t/found-two-editors-with-built-in-rust-support/16006 "2018-03-06T00:33:07Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![senator](https://sea1.discourse-cdn.com/flex019/user_avatar/users.rust-lang.org/senator/32/17934_2.png) [@senator](https://users.rust-lang.org/u/senator)\
**Post date:** [March 6, 2018, 12:33am UTC](https://users.rust-lang.org/t/found-two-editors-with-built-in-rust-support/16006/1 "2018-03-06T00:33:07Z")

</div>

Since I am new to Rust, I don't know if there are as yet any usable IDEs for rust, but I do find two editors with built-in rust support. They are Notepad++ and Vim. Here are two screenshots I just took:

 ![notepad_rust](https://us1.discourse-cdn.com/flex019/uploads/rust_lang/original/2X/f/fec03ee3e105bae416f01994ce4a51413ec1bf6d.PNG)

 ![vim_rust](https://us1.discourse-cdn.com/flex019/uploads/rust_lang/original/2X/0/0860036d960df3cfdf4f0d6a6707f3dd009dcac8.PNG)

I hope someone could tell me that there is a better solution, I mean, usable IDEs including automatic invocation of compiler and debugger.

---

<div class="post-metadata">

**Author:** ![snowsignal](https://sea1.discourse-cdn.com/flex019/user_avatar/users.rust-lang.org/snowsignal/32/43309_2.png) [@snowsignal](https://users.rust-lang.org/u/snowsignal)\
**Post date:** [March 6, 2018, 1:23am UTC](https://users.rust-lang.org/t/found-two-editors-with-built-in-rust-support/16006/2 "2018-03-06T01:23:02Z")

</div>

The [IntelliJ IDEA IDE](https://www.jetbrains.com/idea/) has a Rust plugin that works really well and integrates nicely with Cargo. It can highlight incorrect syntax and also provides code completion and all the other good things an IDE should have. It also has a plugin for Cargo's TOML files: it can even install the package automatically when you make a change to it.

---

<div class="post-metadata">

**Author:** ![Jayflux](https://sea1.discourse-cdn.com/flex019/user_avatar/users.rust-lang.org/jayflux/32/8348_2.png) [@Jayflux](https://users.rust-lang.org/u/Jayflux)\
**Post date:** [March 6, 2018, 2:05am UTC](https://users.rust-lang.org/t/found-two-editors-with-built-in-rust-support/16006/3 "2018-03-06T02:05:46Z")

</div>

Rust support is good in most editors these days  
Personally I use [Rust Enhanced](https://github.com/rust-lang/rust-enhanced) which is a plug-in for Sublime Text

Syntax highlighting  
Code completion (with RLS on)  
Build within the editor  
Syntax checking (automatically on save)  
TOML highlighting

Have a look at the readme.

It lacks a debugger though, so if you want that you could loook at the Rust plugin for visual studio code

---

<div class="post-metadata">

**Author:** ![deikatsuo](https://sea1.discourse-cdn.com/flex019/user_avatar/users.rust-lang.org/deikatsuo/32/4660_2.png) [@deikatsuo](https://users.rust-lang.org/u/deikatsuo)\
**Post date:** [March 6, 2018, 2:09am UTC](https://users.rust-lang.org/t/found-two-editors-with-built-in-rust-support/16006/4 "2018-03-06T02:09:02Z")

</div>

Builder, the best IDE for Rust [Apps/Builder - GNOME Wiki!](https://wiki.gnome.org/Apps/Builder)

---

<div class="post-metadata">

**Author:** ![Michael-F-Bryan](https://sea1.discourse-cdn.com/flex019/user_avatar/users.rust-lang.org/michael-f-bryan/32/28749_2.png) [@Michael-F-Bryan](https://users.rust-lang.org/u/Michael-F-Bryan)\
**Post date:** [March 6, 2018, 4:27am UTC](https://users.rust-lang.org/t/found-two-editors-with-built-in-rust-support/16006/5 "2018-03-06T04:27:14Z")

</div>

I use VS Code for editing, along with the `Rust (rls)` plugin. It provides highlighting, code completion, syntax checking and all that. I prefer compiling and running tests from the command line though.

Rust is better off than C/C++ in that building, running tests, or generating docs is stupidly easy, you just need to run `cargo build`, `cargo test`, or `cargo doc` respectively.

---

<div class="post-metadata">

**Author:** ![R3use](https://sea1.discourse-cdn.com/flex019/user_avatar/users.rust-lang.org/r3use/32/6030_2.png) [@R3use](https://users.rust-lang.org/u/R3use)\
**Post date:** [March 6, 2018, 12:08pm UTC](https://users.rust-lang.org/t/found-two-editors-with-built-in-rust-support/16006/6 "2018-03-06T12:08:57Z")

</div>

I too use VS Code for Rust which is surprisingly a darn good editor.

---

<div class="post-metadata">

**Author:** ![darrenldl](https://sea1.discourse-cdn.com/flex019/user_avatar/users.rust-lang.org/darrenldl/32/6024_2.png) [@darrenldl](https://users.rust-lang.org/u/darrenldl)\
**Post date:** [March 7, 2018, 6:59am UTC](https://users.rust-lang.org/t/found-two-editors-with-built-in-rust-support/16006/7 "2018-03-07T06:59:55Z")

</div>

Does the profiler work well with Rust out of the box?

---

<div class="post-metadata">

**Author:** ![rayascott](https://sea1.discourse-cdn.com/flex019/user_avatar/users.rust-lang.org/rayascott/32/5706_2.png) [@rayascott](https://users.rust-lang.org/u/rayascott)\
**Post date:** [March 7, 2018, 9:57am UTC](https://users.rust-lang.org/t/found-two-editors-with-built-in-rust-support/16006/8 "2018-03-07T09:57:58Z")

</div>

You might find [https://areweideyet.com](https://areweideyet.com) useful. It gives an overview of the state of Rust support in a number of editors and IDEs.

---

<div class="post-metadata">

**Author:** ![senator](https://sea1.discourse-cdn.com/flex019/user_avatar/users.rust-lang.org/senator/32/17934_2.png) [@senator](https://users.rust-lang.org/u/senator)\
**Post date:** [March 7, 2018, 12:55pm UTC](https://users.rust-lang.org/t/found-two-editors-with-built-in-rust-support/16006/9 "2018-03-07T12:55:07Z")

</div>

Thank you! This is the most valuable info!

Based on the information, I have chosen sublime text. It is so much more elegant than both notepad++ and vim, and also with built-in syntax highlighting. However its dark theme needs some getting used to.

---

<div class="post-metadata">

**Author:** ![HadrienG](https://sea1.discourse-cdn.com/flex019/user_avatar/users.rust-lang.org/hadrieng/32/3798_2.png) [@HadrienG](https://users.rust-lang.org/u/HadrienG)\
**Post date:** [March 7, 2018, 6:12pm UTC](https://users.rust-lang.org/t/found-two-editors-with-built-in-rust-support/16006/10 "2018-03-07T18:12:17Z")

</div>

I personally found it worthwhile to look around a bit for sublime themes around the web. There is a nice light theme inspired by Github's color scheme, and the dark version of Ayu is pretty slick too!

---

<div class="post-metadata">

**Author:** ![rayascott](https://sea1.discourse-cdn.com/flex019/user_avatar/users.rust-lang.org/rayascott/32/5706_2.png) [@rayascott](https://users.rust-lang.org/u/rayascott)\
**Post date:** [March 7, 2018, 9:14pm UTC](https://users.rust-lang.org/t/found-two-editors-with-built-in-rust-support/16006/11 "2018-03-07T21:14:38Z")

</div>

Don’t just choose based on the information. Try them. It doesn’t take long, and you might be surprised at what else you find. I never thought I’d ever use a Microsoft produced editor as my main tool, but I do. There are tons of plugins. IntelliJ, I thought would be a no-brainer, as I used their GoLand IDE and loved it, but found it a bit too heavyweight.

---

<div class="post-metadata">

**Author:** ![LilianMoraru](https://sea1.discourse-cdn.com/flex019/user_avatar/users.rust-lang.org/lilianmoraru/32/1934_2.png) [@LilianMoraru](https://users.rust-lang.org/u/LilianMoraru)\
**Post date:** [March 13, 2018, 10:44am UTC](https://users.rust-lang.org/t/found-two-editors-with-built-in-rust-support/16006/12 "2018-03-13T10:44:24Z")

</div>

I recommend [IntelliJ IDEA](https://www.jetbrains.com/idea) + [The IntelliJ Rust plugin](https://intellij-rust.github.io/) - I personally think it is better than the other options.  
The setup is painless.

---

<div class="post-metadata">

**Author:** ![garro](https://avatars.discourse-cdn.com/v4/letter/g/f4b2a3/32.png) [@garro](https://users.rust-lang.org/u/garro)\
**Post date:** [March 13, 2018, 4:58pm UTC](https://users.rust-lang.org/t/found-two-editors-with-built-in-rust-support/16006/13 "2018-03-13T16:58:29Z")

</div>

No one talks about GNU Emacs?  
Rust-mode is built-in, and with racer and yasnippets is great and very productive!

---

<div class="post-metadata">

**Author:** ![wahn](https://sea1.discourse-cdn.com/flex019/user_avatar/users.rust-lang.org/wahn/32/1050_2.png) [@wahn](https://users.rust-lang.org/u/wahn)\
**Post date:** [March 17, 2018, 5:56pm UTC](https://users.rust-lang.org/t/found-two-editors-with-built-in-rust-support/16006/14 "2018-03-17T17:56:07Z")

</div>

Yup. **Emacs** with **rust-mode** for editing, **magit** for git for version control, **rustfmt** called via shortcut for formating/pretty printing, compiling via simple Makefile calling **cargo** , and jumping from resulting error/warning messages directly into the Rust code. All without ever leaving Emacs ... 😍

---

<div class="post-metadata">

**Author:** ![doomy](https://sea1.discourse-cdn.com/flex019/user_avatar/users.rust-lang.org/doomy/32/5390_2.png) [@doomy](https://users.rust-lang.org/u/doomy)\
**Post date:** [March 17, 2018, 8:51pm UTC](https://users.rust-lang.org/t/found-two-editors-with-built-in-rust-support/16006/15 "2018-03-17T20:51:11Z")

</div>

It really depends on what priorities you have. As much as I hate electron, VS Code is decent for what it is (definitely when compared with the trainwreck that is Atom). It probably has the biggest community as well.

I personally use Sublime with rust-enhanced + the RLS server since it's much kinder on memory usage. My other recommendation is Vim (specifically nvim), however it can be tricky to set up autocompletion and RLS in general.

I might check out @wahn's recommendation too with emacs, despite me being a vim supremacist 😉

---

<div class="post-metadata">

**Author:** ![zen3ger](https://sea1.discourse-cdn.com/flex019/user_avatar/users.rust-lang.org/zen3ger/32/6575_2.png) [@zen3ger](https://users.rust-lang.org/u/zen3ger)\
**Post date:** [March 17, 2018, 9:44pm UTC](https://users.rust-lang.org/t/found-two-editors-with-built-in-rust-support/16006/16 "2018-03-17T21:44:25Z")

</div>

Try it with `evil-mode`, feels like vim with all the emacs goodies. Setting up emacs for rust was way simpler than vim, eventhough I've never used emacs before.

---

<div class="post-metadata">

**Author:** ![doxxx](https://sea1.discourse-cdn.com/flex019/user_avatar/users.rust-lang.org/doxxx/32/6120_2.png) [@doxxx](https://users.rust-lang.org/u/doxxx)\
**Post date:** [June 4, 2018, 1:46pm UTC](https://users.rust-lang.org/t/found-two-editors-with-built-in-rust-support/16006/17 "2018-06-04T13:46:18Z")

</div>

For me, it's VS Code with the Rust extension using the Rust Language Server. It still has some annoyances like no support for showing popup function signatures while typing the parameters, but otherwise it's pretty great.

---

<div class="post-metadata">

**Author:** ![steffahn](https://sea1.discourse-cdn.com/flex019/user_avatar/users.rust-lang.org/steffahn/32/47569_2.png) [@steffahn](https://users.rust-lang.org/u/steffahn)\
**Post date:** [January 12, 2023, 8:48am UTC](https://users.rust-lang.org/t/found-two-editors-with-built-in-rust-support/16006/18 "2023-01-12T08:48:09Z")

</div>

Closed on January 12, 2023, 8:48am UTC


