When I create a constructor with parameters using Resharper’s ‘Generate code’ feature, I get something like this:
public class Example{ private int _x; private int _y; public Example(int _x, int _y){ this._x = _x; this._y = _y; } }
I would like to use this naming convention instead:
public class Example{ private int _x; private int _y; public Example(int x, int y){ _x = x; _y = y; } }
but I don’t know if it’s possible to edit this constructor template and where.
Options / Languages / Common / Naming Style You should set your field prefix to underscore.