rust-lang / rust-lang/rust-analyzer

[vscode] Support for more rust-analyzer config in each folder in multi-root workspace

Open
#12,261 0 comments 12 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

A-config
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:
image

In folder-setting:
image

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

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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.