Skip to main content

inlay_hints

Function inlay_hints 

Source
pub fn inlay_hints(
    build: &CachedBuild,
    uri: &Url,
    range: Range,
    live_source: &[u8],
) -> Vec<InlayHint>
Expand description

Generate inlay hints for a given range of source.

Uses tree-sitter on the live buffer for argument positions (so hints follow edits in real time) and the pre-cached hint index for semantic info (parameter names via referencedDeclaration).