pub fn rename_variable(
var_name: &str,
new_name: &str,
uri: &Url,
doc: &ParsedDoc,
position: Position,
) -> WorkspaceEditExpand description
Rename a $variable (or parameter) within its enclosing function/method scope.
Only produces edits within the single document uri; variables don’t cross files.