Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>rust-builderNew to Visual Studio Code? Get it now.

rust-builder

prime31

|
26 installs
| (0) | Free
Helper for building Rust projects with many examples/bins
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Rust Builder

Simple helper that parses your cargo run --bin and cargo run --example output letting you select your build target easily.

Features

  • provides a parser for finding cargo run targets
  • keyboard shortcut and VS Code commands for building the last target or choosing a target to build
  • each setup for debugging your last built target with CodeLLDB

Usage

Direct Builds

  • cmd/ctrl+shift+r runs the cargo-builder.buildLastTarget command which will prompt you for a target the first time it is run and run it directly thereafter
  • cmd/ctrl+shift+alt+r runs the cargo-builder.buildTarget command which will always prompt you for a target
  • you can also can wire those commands up to whatever keybindings you want or use the command palette to run them
  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2023 Microsoft