lsp_rename_preview
Preview a symbol rename operation without writing changes. Returns the WorkspaceEdit and a unified diff for review.
Instructions
Preview a rename operation. Returns the WorkspaceEdit and a unified diff. No files are written to disk.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| newName | Yes | The new name for the symbol. | |
| filePath | Yes | Absolute or workspace-relative path to the file. | |
| position | Yes | Line/character position (zero-based) of the symbol to rename. | |
| includeDiff | No | Whether to include a unified diff in the response. |