rename
Renames a symbol across all affected files, returning a workspace edit or applying changes directly to disk when requested.
Instructions
Rename a symbol across all affected files. Returns the workspace edit, or applies it to disk when apply is true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| col | Yes | Column number (1-indexed) | |
| file | Yes | Relative file path from project root | |
| line | Yes | Line number (1-indexed) | |
| apply | No | Write the changes to disk instead of returning the edit (default false) | |
| newName | Yes | The new name for the symbol |