rename_file
Rename files or folders using Language Server Protocol capabilities to automatically update all references across your codebase for TypeScript, JavaScript, and Python projects.
Instructions
Rename a file or folder using LSP rename capabilities
Input Schema
Name | Required | Description | Default |
---|---|---|---|
language | No | Programming language (typescript, javascript, python, etc.) | typescript |
newPath | Yes | New path for the file or folder | |
oldPath | Yes | Current path of the file or folder |
Input Schema (JSON Schema)
{
"properties": {
"language": {
"default": "typescript",
"description": "Programming language (typescript, javascript, python, etc.)",
"type": "string"
},
"newPath": {
"description": "New path for the file or folder",
"type": "string"
},
"oldPath": {
"description": "Current path of the file or folder",
"type": "string"
}
},
"required": [
"oldPath",
"newPath"
],
"type": "object"
}