Skip to main content

handle_hover

Function handle_hover 

Source
pub async fn handle_hover(
    name: &str,
    client: &mut LspClient,
    file_tracker: &mut FileTracker,
    project_root: &Path,
) -> Result<Value>
Expand description

Fetch hover information for a named symbol.

Resolves the symbol’s location via workspace/symbol, then issues a textDocument/hover request at that position.

§Errors

Returns an error if the symbol is not found or the LSP request fails.