Resharper offers a very useful representation and initialization of the xxx field when you specify a new parameter in the constructor, for example:
Constructor (int parameter)
The only (secondary) annoyance is that it puts a new field at the beginning of the class - and I'm a fan of separating private parts from strangers' prying eyes as far as possible;).
If, however, you already have some private fields in the class, Resharper will place the new field “correctly” (note the quotation marks, I do not want to start a fiery war on this issue) next to them, even if they are at the end of the class.
Is there a way to make Resharper always put new fields at the end of the class?
UPDATE: OK, I forgot to mention that I know about the "Type of members in parameters" function, but any specific help on how to change the template to achieve the placement of the fields will be pleasant.
source
share