[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["没有我需要的信息","missingTheInformationINeed","thumb-down"],["太复杂/步骤太多","tooComplicatedTooManySteps","thumb-down"],["内容需要更新","outOfDate","thumb-down"],["翻译问题","translationIssue","thumb-down"],["示例/代码问题","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-07-31。"],[],[],null,["# Rethink variable names\n\nGemini in Android Studio streamlines your workflow and makes it easier to keep\nyour code organized with AI-powered refactoring features. You can ask Gemini for\nvariable name suggestions and quickly update all instances of the variable name\nin the current file.\n\nIf you want to rename a specific variable, class, or method, highlight the\nvariable, right-click, and select **Rename** to get suggestions (it might take a\nsecond for Gemini's suggestions to appear). Gemini suggests appropriate names\nbased on the code context. Double-click on a suggested name to update all\ninstances of the variable name.\n\nTo rethink all the variables in the current function or file, put the cursor in\nthe function or at the top-level of the file (outside of any function),\nrespectively. Then right-click and select **Gemini \\\u003e Rethink variable names**. A\ndialog appears where you can review the suggested names and accept only the ones\nyou like."]]