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
You need go to Setting > Editor > Code Style > Java and just specify s-prefix in static field, then click OK
In Mac OS
code generation tab
In AS 2.2.1:
File > Settings > Editor > Code Style> Java > Code Generation > Naming > Name Prefix Field / Name Prefix Static Field
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.
m
as the name prefix for fields
. Then add s
as the name prefix for static
fields.