Skip to main content

Module rename

Module rename 

Source
Expand description

Rename recipe: composable rename using semantic actions.

Decomposes the monolithic do_rename into:

  1. locate_symbol — find definition
  2. find_references — gather callers + importers from index
  3. check_conflicts — detect naming collisions
  4. plan_rename_in_file — produce edits for each affected file

Functions§

plan_rename
Build a rename plan without touching the filesystem.