Skip to main content

quick_fix_actions

Function quick_fix_actions 

Source
pub fn quick_fix_actions(
    text: &str,
    diagnostics: &[Diagnostic],
    requested: Range,
    uri: &Url,
    version: Option<i32>,
) -> Vec<CodeActionOrCommand>
Expand description

The did-you-mean quick fixes for the unresolved-link diagnostics the client sent with a codeAction request (context.diagnostics) that intersect requested, against text, the analysed snapshot the edits are versioned to.