rust-lang / rust-lang/rust-analyzer
Inconsistent inta-doc link resolution in for Hover
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 16.9k
- Forks
- 2.2k
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 72
Description
Link rewrite for hover requests doesn't work across crate boundaries for some definition types. I haven't experimented much with what combinations do and don't work, I discovered this when trying to add functionality to kak-lsp. Can investigate more if this isn't know behavior.
Sample testcases:
https://github.com/adrusi/rust-analyzer/commit/e3af6d51c1b12cba6963e3333d33d68e21c9cee3
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 inspecting the sample testcase commit e3af6d51c1b12cba6963e3333d33d68e21c9cee3 and reproducing the hover requests across crate boundaries. Compare the definition types and link-rewrite results, then establish tests covering the failing combinations so cross-crate hover links resolve consistently.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100