Skip to main content

plan_rename

Function plan_rename 

Source
pub fn plan_rename(
    index: &ProjectIndex,
    path: &Path,
    offset: usize,
    new_name: &str,
) -> Result<RenamePlan, String>
Expand description

Build the rename plan for the symbol at the cursor. Errors are human-readable strings surfaced as LSP request failures.