I am looking for step-by-step instructions to create, build, run and debug a first Rust application inside the Atom editor.
So far I have installed the Atom editor, installed the package language-rust
, and fruitlessly tried to find an option inside the editor to create a Rust "project" or "package", and my google-fu failed miserably.
Disclaimer: I am on Windows, very familiar with Visual Studio and not familiar with *nix-like development environments, but eager to try Rust.
Rust language support in Atom Adds syntax highlighting and snippets to Rust files in Atom.
build
package.build-cargo
packagecmd
and press Return or click Ok
cd C:\path\of\your\projects\folder
(if it's on another drive, type d:
and press Return before using the cd
command)cargo new --bin your_project_name
(there must not be a folder with the same name)Open with Atom
build
package's settings by activating the checkbox for "Automatically scroll on build error"linter
package.If someone figures out debugging with Atom, that would be a tremendous help.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With