I'm using Rider with Unity. When I let Rider generate a variable local to a method, the generated code is not what I'd want or expect. An example is if I let Rider 'Introduce variable' upon flagging that repeated access of a built-in component is inefficient, it will generate something like:
var transform1 = transform;
I have my syntax style set to prefer explicit type in all cases (so 'var' immediately gets flagged with a hint) and I really don't want it to ever generate an autoincrementing variable name like that. Ideally I would like to set it up so that it'd generate something like:
Transform cachedTransform = transform;
How can I accomplish this in Rider?