Rename a symbol
nvim_rename_symbolRename a symbol across the entire workspace using LSP and save all affected files, providing a safer alternative to text search and replace.
Instructions
Rename a symbol across the whole workspace with the LSP, then save every changed file. Safer than a text search and replace.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| line | Yes | Line number, 1-based | |
| path | Yes | File path | |
| column | Yes | Column number, 1-based | |
| wait_ms | No | LSP timeout | |
| new_name | Yes | New symbol name |