workbenchdev / workbenchdev/Workbench

Auto-add dependencies

Open
#829 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement rust
Dominant language
JavaScript
Stars
844
Forks
91
Avg merge
7h 12m
Merged PRs (30d)
1

Description

In Rust projects, since we have cargo, it's possible to install dependencies and use them from Workbench.
it's very easy.

Start a project, close the window, Workbench will ask you to save it.

go in that folder and run

cargo add barecode

Reopen the project with Workbench and you'll be able to use that crate.


However as you can see the experience to add crates isn't ideal. One potential solution, instead of building a UI - is to automatically download/build dependencies by analyzing imports.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no files, tests, or entry points. Reproduce the current flow by creating a Rust project, running cargo add barecode, and reopening it in Workbench; then trace how imports and project dependencies are handled. Done means Workbench can automatically download and build dependencies inferred from imports without requiring manual cargo add.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
developer-experience
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.