How to specify a path racer for vs code?

I do not understand, I decided to try a new language(experience was only in C,C++,C#) and I was sitting in vs. My choice fell on rust. Set Rast, I realized that we need to write code, debug, etc. I Took the vs code and instructions and perform in the sediment, not knowing almost anything. Doing everything almost on guess.
Not clear:
Add environment variable RUST_SRC_PATH

I downloaded racer, vs code gathered cargo I did it through the console and here is what to do with it I do not understand. vs code I wrote racer is not found.
If you try using the vs code to bring the tools of Rasta to the working condition here is the log:

Executing "cargo install racer"
Executing "cargo install rustfmt"
Executing "cargo install rustsym"
Updating registry `https://github.com/rust-lang/crates.io-index`
Blocking waiting for the lock on the file registry index
Blocking waiting for the lock on the file registry index
Updating registry `https://github.com/rust-lang/crates.io-index`
Blocking waiting for the lock on the file registry index
Updating registry `https://github.com/rust-lang/crates.io-index`
Blocking waiting for the lock on the file registry index
Blocking waiting for the file lock on the crate metadata
error: binary `racer.exe` already exists in the destination as part of `racer v1.2.10`
Add --force to overwrite
error: binary `cargo-fmt.exe` already exists in the destination as part of `rustfmt v0.6.2`
binary `rustfmt.exe` already exists in the destination as part of `rustfmt v0.6.2`
Add --force to overwrite
error: binary `rustsym.exe` already exists in the destination as part of `rustsym v0.3.1`
Add --force to overwrite


I do not understand a Fig of what happens, where I can read what it is and what I need to do, forgive to help the fool and to instruct on the path of truth.
July 2nd 19 at 18:21
1 answer
July 2nd 19 at 18:23
Solution
Preferred plants to establish through rustup (https://www.rustup.rs). It will set and rust and cargo, and update their will (the command "rustup update", https://github.com/rust-lang-nursery/rustup.rs). Append path at the cargo/bin, although rustup and he may prescribe.

As for the VSCode, it is necessary to install the extension Rusty Code.

Next, install racer (for autocomplete), rustfmt (formats code when saving a file, https://github.com/rust-lang-nursery/rustfmt), rustsym (to go to sym, https://github.com/trixnz/rustsym), cargo-check (when saving the file will compile it on the fly and widepath console VSCode error messages, https://github.com/rsolomo/cargo-check). It is better to install using the command "cargo install", it's more convenient.
Ie, in the console just do the following:

cargo install rustfmt
cargo install racer
cargo install rustsym
cargo install cargo-check

This will are installed in the directory cargo/bin, where we have written the path in your PATH because VSCode can easily find them.

I have set cargo install cargo-edit (https://github.com/killercup/cargo-edit), then the racks in the Cargo.toml for their projects, you can not manually register (doc.crates.io/guide.html), and the command "add cargo".

For racer need to set the environment variable environment RUST_SRC_PATH, putting the path to the downloaded separately and unzipped rust source code (subdirectory src).

PS: the Error you are what cargo the install is trying to install a program, and binarity already the paths are. You just need to manually delete them, or call the appropriate commands "cargo install --force" to update the binaries.

Find more questions by tags RustProgramming