cargo-vsc

Crates.iocargo-vsc
lib.rscargo-vsc
version0.1.1
sourcesrc
created_at2020-10-11 18:52:06.56538
updated_at2023-10-15 10:25:52.596482
descriptionautogenerate .vscode folders
homepage
repositoryhttps://github.com/MaulingMonkey/cargo-vsc
max_upload_size
id298413
size46,677
(MaulingMonkey)

documentation

https://docs.rs/cargo-vsc

README

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.

Commit count: 26

cargo fmt