Introduce Field default naming (first R# 5.0 build)

Hi,

I posted earlier today another issue I encountered with the first EAP build (and just now I noticed that probably in the wrong section - Resharper Community).

When required, I usually use the Introduce Field refactoring.

In previous versions if we had something like:

Vector3 someVector = new Vector3(0,0,1);

and we make the Introduce Field refactoring, the name suggested for the field was the same as the variable, "someVector".
With this build, the suggested name that R# gives me is "vector3".

The name is always the object name instead of the variable name created on that line (as far as I could tell).

Can anyone confirm this?

Thanks.

Best,
Luís

Please sign in to leave a comment.