[FEATURE] "rename" tool - to rename properties in code calling e.g. vscode,IDEA other IDEs / Language Server MCPs ?
Preflight Checklist
- [x] I have searched existing requests and this feature hasn't been requested yet
- [x] This is a single feature request (not multiple features)
Problem Statement
I noticed that specifically for rename tasks the AI models perform poorly. Sometimes forgetting things or copy paste things wrongly when they try to refactor naming of code properties.
Especially for strictly typed languages like golang and typescript this is solved by the IDEs. Why not expose a "tool" in claude code CLI like writeand read but call it rename.
Proposed Solution
Have very popular IDEs be incorporated here to reuse existing local functionality with Claude Code CLI.
Visual Studio Code
Visual Studio
Notepad++
IDEA Suite
Cursor
Alternative Solutions
Defining skills to crosscheck "refactoring" tasks and run tests to see if "refactoring worked" often causes issues and waste of tokens. Since every failed test run triggers an "investigation"
Priority
High - Significant impact on productivity
Feature Category
File operations
Use Case Example
Example Scenario:
Changing API paths of several endpoints and therefore renaming the properties of constants and moving some code out of one file into another to make it to a module.
Additional Context
_No response_
4 Comments
Found 3 possible duplicate issues:
This issue will be automatically closed as a duplicate in 3 days.
🤖 Generated with Claude Code
After looking at: https://github.com/anthropics/claude-code/issues/1315
It would make sense to have an MCP for each IDE for such tasks. And users can install such MCPs similar as other built in MCPs.
Seems like the direction goes to language server MCPs within the compilers e.g. go has it as experimental. Closing the ticket for now :)
Example:
official
multi purpose community solutions:
Visual Studio Code IDE specific: (supports all IDE language server)
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.