rust-lang / rust-lang/rust-analyzer
Folder and File Name Casing Breaks Processing
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 16.9k
- Forks
- 2.2k
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 72
Description
I am having some issues with the plug-in ignoring certain files in the project and I think I may have found what is causing it.
Subfolders with capital names are not processed and give the below error when browsing the files while subfolders with all lowercase names work fine.
Error:
Example of what works and what doesnt:
Hope this helps some people. Thanks for the awesome extension.
rust-analyzer version: 0.3.1591-standalone
rustc version: rustc 1.70.0
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
No source file, test, or entry point is named in the report. First reproduce the problem with capitalized and lowercase subfolders using the reported rust-analyzer and rustc versions, then trace file browsing and folder-processing behavior. Done means files in capitalized folders are processed without the reported error and a regression test covers the casing difference.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100