rust-lang / rust-lang/rust-analyzer
Check all cfgs
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 16.9k
- Forks
- 2.2k
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 72
Description
I often develop both sides of a feature (flag on and off) at once, and it's very annoying to have to change my settings.json just to get intellisense on the default-disabled features. I'd like it if rust-analyzer just checked both sides of it separately (as a setting ofc). That would also result in better errors. It could be as simple as checking with both --all-features and --no-default-features.
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 tracing rust-analyzer's settings.json handling for feature configuration and the existing paths that invoke --all-features or --no-default-features. Define the setting and verify that enabling it checks both feature configurations separately, with diagnostics and IntelliSense reflecting each result.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100