Skip to main content

show_action

Function show_action 

Source
pub fn show_action(
    view: &PathView<'_>,
    uri: &Url,
    offset: usize,
) -> Option<CodeActionOrCommand>
Expand description

The “Show capability path” action for the given entry at offset, or none off an entry. Its command carries [uri, position, locations] for the client to hand to the editor’s references peek, then (#2534) by_path, each chain’s sites with shared ones repeated, for a client that groups the peek by path; a client that reads three arguments is unaffected.