2 releases

0.1.1 Oct 15, 2023
0.1.0 Oct 11, 2020

#360 in Cargo plugins

Apache-2.0 OR MIT

27KB
380 lines

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.

Dependencies

~0.8–1.7MB
~37K SLoC