when will Android Studio provide an AI tool for re...
# ai
w
when will Android Studio provide an AI tool for refactorings that agents can use so Gemini or other models can have an accurate and efficient ability to make large changes? Right now Gemini is making way too many edits inaccurately with grep and edit-file to be trusted.
c
I’m not sure we have a plan to make a specific AI refactoring tool given the IDE has decent tools to begin with. I’ll relay this to the team though for discussion. For now, if the agent is leaning on grep too much, you can try to nudge it to use the codebase_search tool instead (“Search my codebase”, “Use the codebase search tool”) which leverages IDE indexing, and see if that performs better.