Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Cargo ToolsNew to Visual Studio Code? Get it now.
Cargo Tools

Cargo Tools

NickelWenzel

|
664 installs
| (1) | Free
Cargo/Rust development tools for Visual Studio Code
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Cargo Tools

Build Status License

Cargo Tools is a Visual Studio Code extension that provides IDE-like features for Rust/Cargo development. It complements rust-analyzer by adding project configuration controls, a workspace target browser, cargo-make task management, and cargo alias shortcuts.

Features

Project Configuration

Project configuration

  • Select defaults for target platform, cargo pprofile, package
  • Select default build run, benchmarks targets and features for packages
  • Trigger cargo through user interface or key bindings
  • Build documention
  • Install additional targt platforms, clean buid artifacts

Project Outline

Project outline

  • Overview over workspace
  • Show available targets for workspace members
  • Build, run, debug, test and clean workspace, packages and targets
  • Filter by package name and target type
  • Group by package or target type

xtask/alias and cargo-make Integration

cargo make

  • Overview over available cargo aliases and cargo make tasks
  • Run tasks with or without additional arguments
  • Filter by name or task category
  • Pin default tasks and trigge them through key bindings

Usage

Requirements

  • Visual Studio Code 1.102.0 or higher
  • Rust toolchain with Cargo installed via rustup

Installation

Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.

ext install NickelWenzel.cargo-tools

Resources

  • Docs for comprehensive documentation.
  • Github for source code, issues, and contributing.

Development

Prerequisites

  • Rust stable
  • Node.js 20
  • wasm-pack 0.14
  • wasm-bindgen-cli 0.2.106

Development workflows through xtasks defined in .cargo/config.toml.

Command Description
cargo compile Build WASM + bundle TypeScript
cargo lint cargo clippy + cargo fmt --check + ESLint
cargo xt-test Run Rust tests on native and wasm32-unknown-unknown
cargo xt-pkg Produce cargo-tools.vsix

Contributing

Contributions welcome via PRs or issues on Github.

Inspiration

This extension draws inspiration from vscode-cmake-tools.

License

MIT

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft