rust-lang / rust-lang/rust-analyzer
Default enable rangeExclusiveHints
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 16.9k
- Forks
- 2.2k
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 72
Description
This hint helps avoid confusion in range when using multiple languages
But rangeExclusiveHints is turned off by default. Can we make it turned on by default?
For beginners, they may not be aware of the option and turn it on, so it is difficult to provide assistance
Compatibility
Heuristic recognition of 'beginners', i.e. users who have not made any configuration
In the case of 'beginners', provide some special configuration, such as rangeExclusiveHints
Problem
It may cause some confusion for the initial configuration, such as 'Why was this configuration auto disabled?'
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 locating the rangeExclusiveHints configuration definition and its current default, then inspect how rust-analyzer distinguishes users without configuration. Review any existing configuration tests or entry points for this setting. Done means the hint is enabled by default without configuration and the compatibility behavior is covered by tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- developer-experience
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100