Skip to content

nerditation/cargo-dockside

 
 

Repository files navigation

cargo dockside

shortcuts for various cargo subcommands in vscode sidebar.

this is a fork of vscode-cargo-toolset, the README file of the original project can be found at README.original.md

Note

I created this fork mainly for personal use, I mostly only made small changes. I didn't change most of the internal ids, e.g. commands, sidebar views, configurations, etc will conflict with the original vscode-cargo-toolset extension.

to reduce the chance to confuse users, and also because I'm personally using vscodium, I plan to only publish this extension to http://open-vsx.org, if you are a vscode user and interested in this extension, you can either build it from source, or download prebuilt .vsix files directly from the github releases page.

what's different in this fork

here's a brief summary (which is probably incomplete and outdated):

  • major UI tweaks
    • most custom button stylings are removed, use default button styles instead;
    • the size of buttons are reduced;
    • removed font settings, use whatever is the default of the editor;
  • new cargo commands shortcuts
    • cargo new --lib <PATH>
    • cargo new TMPDIR/playground-xxxx
  • command execution changes
    • run commands as Tasks in special terminals;
      • vscode-cargo-toolset sends the command line to a "regular" terminal;
    • ability to spawn cargo directly, bypassing shells;
    • can run a "post command" after the command finished successfully;
      • e.g. after create new package, run vscode.openFolder to open it;

I urge anyone who wants to know the details to check the commit history. I usually make git commits with small changes, because I like to review changes manually, and small changesets are generally easier to understand.

license

this extension is released under the MIT license.

SPDX-License-Identifier: MIT
SPDX-PackageCopyrightText: Copyright 2024 Jalal Alizadeh, 2025 nerditaion


About

shortcuts for various `cargo` subcommands in vscode sidebar.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 69.9%
  • JavaScript 18.3%
  • CSS 11.8%