-
Notifications
You must be signed in to change notification settings - Fork 44
Open
Description
Gemini CLI takes quite a lot of time to rename private members to public members with text replacements. It would be much better to expose refactoring tools to in the MCP:
- Rename symbol
- Change modifiers of classes
- Extract method (though then Gemini must provide the correct range selected)
Likely we'd need a separate tool for each refactoring in an MCP? (E.g. there are no sub-tools in MCP servers.) It looks like pub is set up with a command parameter. I have no idea whether LLMs perform better or worse with sub-commands. 🙃
And we'd need to specify in the tool-description that the refactoring tools likely only work if dart_analyze tool doesn't report any errors.
@jakemac53 Have we considered adding support for refactorings in the Dart MCP?
Metadata
Metadata
Assignees
Labels
No labels