rust-lang / rust-lang/rust-analyzer
Is it possible to support a glob pattern or regex for "rust-analyzer.linkedProjects" values?
Nobody has claimed this yet.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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