Search code examples
javaandroidandroid-studioandroid-settings

How to edit the code generation of getters in Android Studio


How to edit the code generation of getters in Android Studio, which are generated via hot keys Alt+Insert ? In which folder are the files which are spelled out in the instructions?


Solution

  • You can add new getter/setter code generation templates by pressing Alt+Insert, selecting Getters and Setters, then choosing the ellipses (...) and pressing the green +.