Eclipse IDE for Rust Developers (includes Incubating components)

I am new to Rust.
I try to start and doesn't succed at all after 4 hours : Windows10 environment.
My background is java programming with Netbean, It was easy to start 20 years ago... I just had to install NetBeans and Java Bundle and it worked.
With Rust I do not know how to do it : no such simple way
With Netbeans : no plugin for rust ready to install
With Visual studio Code : I do not know which version of C install, I didn't find any screen shoot of the installation
With Eclipse : it seems ther is a Eclipse for Rust, but when you have install eclipse it didn't install Rust at all.
The rustup-init.exe : it ask to install C but I do not know what to install

Do you know if there is a real step by step with screen shot or autoinstall exe ?

Thanks for your help

If your on windows you need to install the MSVC build tools you can find that when you install visual studio community edition

For Visual Studio, make sure to check the "C++ tools" and "Windows 10 SDK" option. No additional software installation is necessary for basic use of the GNU build.

I also recommend using VSCode instead of eclipse, it has much better support, especially with the rust-analyzer plugin.

1 Like


Rust is not install even if I run rustup-init.exe after upgrading my Visual studio with C++

Thanks anyway

Best regards

Bertrand ROUSSEL

Le mar. 21 avr. 2020 à 19:44, Krishna Sannasi via The Rust Programming Language Forum a écrit :

When installing Visual Studio, did you install the build tools? If so you should be able to install rustup. If you have already run rustup-init.exe successfully, you should be able to access rustup on the commandline.

# will tell you the version, just to make sure it was indeed installed
rustup --version
# will install the latest stable version of Rust
rustup install stable

You can then use cargo to create, build, and test projects on the commandline, and other tools like VSCode should be able to run Rust code with the right plugins/addons.

rustc --version
rustc 1.42.0 (b8cedc004 2020-03-09)

normaly it should be there.

Le mar. 21 avr. 2020 à 21:41, roussel bertrand a écrit :

rustup install stable
info: syncing channel updates for 'stable-x86_64-pc-windows-msvc'

stable-x86_64-pc-windows-msvc unchanged - rustc 1.42.0 (b8cedc004 2020-03-09)

info: checking for self-updates

Le mar. 21 avr. 2020 à 22:03, roussel bertrand a écrit :

Looks like you've got Rust installed. Note that rustup doesn't install Rust into visual studio, it just uses some tools from visual sudio's installation to install Rust.

You can create a new project using

cargo new my_new_project
cd my_new_project

then use the following commands to...

cargo run # build and run project
cargo build # build project
cargo test # test project

You can see the full list of commands with

cargo help

I recommend reading the book to get acquainted with Rust and cargo


Thanks for your help

Effectively I expected to have the project in Visual Studio.

I will install vsCode to manage the files


Le mar. 21 avr. 2020 à 22:19, Krishna Sannasi via The Rust Programming Language Forum a écrit :

Ok, I think that could be cleared up a bit in the documentation. If you have the time to, can you submit an issue about it either on the main Rust repo, or the one for the Rust book?

1 Like

Yes, I wil write a markdown text explanation

of what I have down

and what I would have expect

I need to make the first program helloword to work before that.

I will do that tomorrow.

have a good night.

Bertrand Roussel


Le mar. 21 avr. 2020 à 22:33, Krishna Sannasi via The Rust Programming Language Forum a écrit :


Currently, the best IDE support is definitely either the JetBrains Rust plugin in one of their IDEs, or the rust-analyzer setup in VSCode. I think both of those will allow you to create projects through the UI, once they're set up right... but I've found getting that right to be tricky on windows. However, cargo is excellent, and very easy to get started with. I use it for project creation and check/build/test. I use the IDE for syntax highlighting and code completion.

There was once, a long while ago, an alright plugin for VS proper, but it was abandoned years ago, and nobody has taken the time to try writing a new one. VS would be a very powerful addition, but there's a lot to be done to get it 'right'.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.