Skip to main content

compute_code_actions

Function compute_code_actions 

Source
pub fn compute_code_actions(
    tree: &Tree,
    source: &str,
    start_line: usize,
    start_col: usize,
    end_line: usize,
    end_col: usize,
) -> Vec<CodeAction>
Expand description

Compute code actions for a given cursor range in the document.