Skip to main content

Module rename

Module rename 

Source

Structs§

RenameEdit
RenameResult

Enums§

RenameScope

Functions§

apply_edits
Apply edits to files on disk. Edits are sorted (line desc, col desc) per file and applied back-to-front to preserve offsets.
find_all_word_matches
Find ALL word-boundary matches of symbol_name across the project. Unlike search_for_pattern, this returns multiple matches per line via find_iter.
rename_symbol
Rename a symbol across one file or the entire project.