Hello,
I am comming from Python World. One of the best things I found there is the IDE support.
In your opinion, which is the best Rust IDE for Windows today (for a noob) ?
Are there already any decent support for debugging ?
Cheers, Alfred N.
Hello,
I am comming from Python World. One of the best things I found there is the IDE support.
In your opinion, which is the best Rust IDE for Windows today (for a noob) ?
Are there already any decent support for debugging ?
Cheers, Alfred N.
I guess lots of people here use vim/emacs. But I would recommend VSCode, though I've not tried that.
I use this.
It works very well and has active development.
I definitely recommend it if you can spare the RAM and CPU usage.
As @chimmihc points out, intellij-rust
is very powerful and IMO pretty approachable.
What IDE's have you used before for Python? intellij-rust
is built off of the same core IDE as PyCharm, so if you have used that before, you'll feel right at home. But, if you've used another IDE before, there's likely a Rust plugin already for that platform you may be more comfortable getting started with.
I use VSCode now as my full time Rust IDE, with the Rust
extension. This provides me a consistent IDE across 2 macOS environments and 1 Linux env.
You can also integrate https://github.com/rust-lang-nursery/rls for an even more feature rich experience. note this is not easy, yet
Another option would be Atom with Tokamak (which acts as a kind of meta package + handling configuration, for syntax and build support) and the racer plugin for code completion, go to definition, etc.
Using all features requires you to have a local copy of the Rust source somewhere on your computer.
Integration of the language server though, would be a nicer option.
Thank you all for the responses.
I would recommend VSCode, the Rust plugin provides autocomplete, syntax highlighting, and some other nice features. But above all, there is a nice LLDB plugin that allows Visual Debugging which is an advantages over other IDEs I've tried.
And it's cross platform.
If you use rustup, you can use it to manage your local copy of the rustc sources:
rustup component add rust-src
If I remember correctly racer will find them automatically if you use that. But I'm really not sure.
Yes, that's correct. The component even tracks your current toolchain so it will always be up to date.
Unfortunately tokamak and the racer plugin both require you to specify a path. Otherwise they'll look in /usr/share and not in ~/.multirust/ (where the component installs itself).
I think it shouldn't be a problem to patch that in. Though the racer package seems abandoned.
The extension RustyCode is obsolete.
Use the extension Rust.
~$ cargo info racer
Crate: racer
Version: 2.0.6
Description: Code completion for Rust
Downloads: 86913
Homepage: https://github.com/phildawes/racer
Documentation:
Repository: https://github.com/phildawes/racer
Last updated: 3 weeks ago
Version history:
VERSION RELEASED DOWNLOADS
2.0.6 3 weeks ago 5565
2.0.5 2 months ago 6190
2.0.4 2 months ago 3429
2.0.3 2 months ago 1056
2.0.2 2 months ago 2995
... use -VV to show all 18 versions
Last update 3 weeks doesn't look too much of abandoned to me...
I was refering to the racer plugin of atom, not the tool itself---even the RLS relies on racer as far as I know, would be really bad if it were abandoned
The last commit for the plugin was sometime in 2016-04 with several open pull request and issues.
Oh, I see. Right.
Well, emacs is one of my favorite tools in general but depending on what you are used to, VSCode might be more familiar to you and with the Rust extension you should have almost all you need. I think it gets a little more complicated when it comes to the debugging, depending on your environment.