These are chat archives for rust-lang/rust

25th
Jan 2017
Thomas Jay Rush
@tjayrush
Jan 25 2017 14:17
For the first time in 30 years, I am thinking of learning a new programming language (I know C++, I’m looking at Rust). Question 1: Are there mature development environments such as xCode on Mac and/or Visual Studio on Windows? If not, what is the most mature development environment?
Note: if the answer is ‘command line’ and ‘cargo’ that does not disuade me. I’m just curious before I go much further.
Jarred Nicholls
@jnicholls
Jan 25 2017 14:22
@tjayrush Awesome, you are making a wise choice to look into Rust. At this stage there are a few IDE options that are more or less equally mature, depending on your style and needs. First, all options that I've seen fall back to the racer project for code completion, so code completion will be about equal in all IDE/editor choices. There is Atom (which I personally use and enjoy, as I do a lot of C++, Java, Scala, Rust, JavaScript, etc. development); it has great package management, nice editor, not so great for huge huge text files since it is Chromium based, but it's got nice support for Rust. Then there's Sublime Text 3, which is pretty close to Atom in capability. VSCode I have found to be quite good, and you can install GDB/LLDB integration to do interactive debugging of Rust. There is also Eclipse and Visual Studio plugins that I have not tried.
And of course, don't ignore the command line. Cargo is about as easy as it gets, it's great.
Hope that helps.
Aleksey Kladov
@matklad
Jan 25 2017 16:43

First, all options that I've seen fall back to the racer project for code completion, so code completion will be about equal in all IDE/editor choices.

There's plugin for JetBrains IDEs which does not use racer and implements its own thing: https://intellij-rust.github.io/

It's definitely not mature yet, but some stuff works rather well.
Jarred Nicholls
@jnicholls
Jan 25 2017 17:05
Forgot about the IntelliJ plugin too, thanks Aleksey
Tim
@tikue
Jan 25 2017 18:16
@tjayrush I wouldn't call any of the current development environments for rust mature at this point
Peter Atashian
@retep998
Jan 25 2017 18:34
@tjayrush Currently I use VS Code as my Rust IDE, but I'm hoping to switch to VisualRust soon
Jonas Matser
@mtsr
Jan 25 2017 19:17
VSCode works best at the moment, in my opinion, but if you're more familiar with sublime, Atom works reasonably well too
Thomas Jay Rush
@tjayrush
Jan 25 2017 20:10
Atom it is. I use Atom now for C++, but I didn't know one could compile (and debug?) from inside Atom. I'll have to look into that. Thanks all.
David Greenberg
@dgrnbrg
Jan 25 2017 20:25
Is it possible to have a macro that takes an ident as the LHS and defines 2 fields in a struct where each fields name is (in C macro syntax) my_ident##first & my_ident##second?
Alexey
@KalitaAlexey
Jan 25 2017 20:33
I want to change https://doc.rust-lang.org/error-index.html
How can I do that?