cd my-rust-project
cargo install cargo-vsc
cargo vsc
code .
Ctrl
+ Shift
+ B
to check, test, and build
Ctrl
+ Shift
+ D
"Run" to select different executables
F5
to debug the selected launch configuration (cargo-vsc • debug
by default for this project)
.vscode/.gitignore
since many/most projects don't want .vscode boilerplate checked in IME (although I always provide mine)
.vscode/extensions.json
so VS Code will auto-recommend appropriate extensions
.vscode/settings.json
to ignore target
mucking up search results
.vscode/tasks.json
to check/build/test by default build action, open various documentation links as vanilla tasks, and to support launch.json
.vscode/launch.json
to provide debugging configurations for every rust bin and example in the workspace
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.