Skip to main content

hover_with_workspace

Function hover_with_workspace 

Source
pub fn hover_with_workspace(
    doc: &DocumentState,
    position: Position,
    ws: &dyn WorkspaceView,
) -> Option<Hover>
Expand description

hover enriched with cross-file module attribution: when the name under the cursor is defined in another project module, append “Defined in module X”.