[[["わかりやすい","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"]],["最終更新日 2025-07-31 UTC。"],[],[],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."]]