rust-lang / rust-lang/rust-analyzer
[vscode] Support for more rust-analyzer config in each folder in multi-root workspace
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 16.9k
- Forks
- 2.2k
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 72
Description
When use multi-root worksapce in vscode, I may use different --target for each projetct
I can change it in workspace-setting but not folder-setting
In workspace-setting:

In folder-setting:

Is there any more perfect support for vscode' s multi-workspace folder setting, or plan?
rust-analyzer version: rust-analyzer version: 94fa8a653 2022-05-12 nightly
rustc version: rustc 1.62.0-nightly (f1f721e64 2022-05-13)
relevant settings:
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 reproducing the reported multi-root workspace behavior in VS Code with different Rust projects and --target values. Inspect the existing workspace and folder setting handling in the rust-analyzer extension; done means each folder can use its own target configuration without affecting the others.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- developer-experience, tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100