Synthesize property quick-fix: change default name of backing variable?

Is it possible to change the format of the name of the backing variable created when I use the synthesize property quick-fix?

Right now, it generates a synthesize statement like this:

@synthesize tableView = _tableView;

One of my clients prefers:

@synthesize tableView = tableView_;

I tried changing the "syn" live template (which also uses the _$PROPERTY_NAME$ format), but it did not affect the format used by the quick-fix.




Try Settings -> Code Style -> Code Generation. Change the value for "Prefix for instance variables" to the empty string, and change the value for "Suffix for..." to be an underscore.


Please sign in to leave a comment.