rename_symbol
Renames a symbol across files with edit transactions, word-boundary awareness, and dry-run preview. Check impact_analysis first to see affected files.
Instructions
Execute a cross-file symbol rename (edit_transaction-based). Word-boundary, string/comment-aware. dry_run previews. To see what a rename would affect FIRST, use impact_analysis.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | File where the symbol is defined (relative to workspace_dir) | |
| symbol | Yes | Current symbol name to rename | |
| dry_run | No | Preview changes without writing (default: true) | |
| new_name | Yes | New symbol name | |
| workspace_dir | Yes | REQUIRED: project root (abs). |