rust-lang / rust-lang/rust-analyzer

rust-analyzer documentation hover stuck on "loading" in VSCode

Open
#15,478 1 comment 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

C-bug
Dominant language
Rust
Stars
16.9k
Forks
2.2k
Avg merge
1d 12h
Merged PRs (30d)
72

Description

When developing in Rust using VSCode with the rust-analyzer plugin, moving the mouse over a function displays its usage documentation. However, when scrolling to the bottom, it perpetually displays "loading". I've tried restarting both VSCode and rust-analyzer, but the issue persists.
Screenshot_select-area_20230818210656

rust-analyzer version: (eg. output of "rust-analyzer: Show RA Version" command, accessible in VSCode via Ctrl/⌘+Shift+P)

0.3.1623-standalone

rustc version: (eg. output of rustc -V)

rustc 1.71.1 (eb26296b5 2023-08-03)

relevant settings: (eg. client settings, or environment variables like CARGO, RUSTC, RUSTUP_HOME or CARGO_HOME)

All settings are default.

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 hover behavior in VSCode with rust-analyzer 0.3.1623-standalone, rustc 1.71.1, and default settings. Trace the documentation hover request when scrolling reaches the bottom; done means the hover content finishes loading instead of remaining stuck on "loading".

Written by the indexing model from the issue text.

Assessment

Tech stack
rust, vscode
Domain
developer-experience
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.