rename_preview
Preview all file locations and positions that would change when renaming a TypeScript symbol. Check impacts before applying a rename to avoid unwanted modifications.
Instructions
Preview what locations would change when renaming a symbol. Shows all affected files and positions without making changes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | Path to the file (relative to project root) | |
| line | No | Line number (1-based) | |
| column | No | Column number (1-based) | |
| symbol | No | Name of the symbol to target, instead of line/column. Qualify as "Container.member" (e.g. "UserService.getUser") to disambiguate. Combine with "file" to restrict the search to one file. An ambiguous name returns an error listing the candidates. | |
| newName | Yes | The new name for the symbol |