rust-lang / rust-lang/rust-analyzer

Is it possible to support a glob pattern or regex for "rust-analyzer.linkedProjects" values?

Open
#9,659 2 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

S-actionable
Dominant language
Rust
Stars
16.9k
Forks
2.2k
Avg merge
1d 12h
Merged PRs (30d)
72

Description

This would make it possible to support large monorepos without needing to manually maintain a list of evolving directories.

e.g. for a monorepo with a top-level src directory containing many directories which contain crates:
.vscode/settings.json:

{
  "rust-analyzer.linkedProjects": [
    "src/*/Cargo.toml"
  ]
}

If this has already been discussed and a verdict reached, feel free to link me and close. Thanks!

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

Start by reviewing how rust-analyzer handles the rust-analyzer.linkedProjects setting in .vscode/settings.json, along with the existing issue discussion. Determine the intended glob or regex behavior for values such as src/*/Cargo.toml; done means matching evolving crate directories without manually listing each project.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.