Skip to content

MaulingMonkey/cargo-vsc

Repository files navigation

cargo-vsc • autogenerate .vscode folders

GitHub crates.io %23![forbid(unsafe_code)] rust: stable License Build Status

Quickstart

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)

What's generated?

.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

License

Licensed under either of

at your option.

Contribution

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.

About

autogenerate .vscode folders

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages