Intellij (Android studio) member variable prefix

后端 未结 5 1482
情深已故
情深已故 2020-12-07 14:27

How do I configure Android Studio (or Intellij generally) to correctly generate getters and setters for member variables with prefixes?

If I have a class

         


        
5条回答
  •  离开以前
    2020-12-07 15:01

    Try going to File-->Other Settings-->Default Settings. Your should be able to make prefixes for every other project that you do if you change prefix settings with the scheme set to default instead of Project. The prefix change would be in Java and Code Generation. That will fix setters and getters.

提交回复
热议问题