Rename bug: v1.5

I'm using m_ prefix for member varialbes. When I'm trying to rename the varible, Resharper does not prompt me to rename the associated propertys...

3 comments
Comment actions Permalink

It's not a bug and it does not depend on the prefix. ReSharper just does
not have a feature to suggest renaming a property on a renaming the corresponding
field or vise versa. I think we should implement such feature. Do you think
it should work in both directions (that is, when renaming a property and
when renaming a field)?

Valentin Kipiatkov
Chief Scientist, Vice President of Product Development
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

I'm using m_ prefix for member varialbes. When I'm trying to rename
the varible, Resharper does not prompt me to rename the associated
propertys...




0
Comment actions Permalink

Hello Valentin,

I thought of it few times and think it could be nice to add properties (and
fields in reverese) to the list of associated identifiers, like variables
are get suggested for rename when the type is renamed.

VK> It's not a bug and it does not depend on the prefix. ReSharper just
VK> does not have a feature to suggest renaming a property on a renaming
VK> the corresponding field or vise versa. I think we should implement
VK> such feature. Do you think it should work in both directions (that
VK> is, when renaming a property and when renaming a field)?
VK>
VK> Valentin Kipiatkov
VK> Chief Scientist, Vice President of Product Development
VK> JetBrains, Inc
VK> http://www.jetbrains.com
VK> "Develop with pleasure!"
>> I'm using m_ prefix for member varialbes. When I'm trying to rename
>> the varible, Resharper does not prompt me to rename the associated
>> propertys...
>>
Sincerely,
Ilya Ryzhenkov


0
Comment actions Permalink

I've submitted such request into the tracker and we will probably implement
it for 2.0.

Valentin Kipiatkov
Chief Scientist, Vice President of Product Development
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

Hello Valentin,

I thought of it few times and think it could be nice to add properties
(and fields in reverese) to the list of associated identifiers, like
variables are get suggested for rename when the type is renamed.

VK>> It's not a bug and it does not depend on the prefix. ReSharper just
VK>> does not have a feature to suggest renaming a property on a
VK>> renaming the corresponding field or vise versa. I think we should
VK>> implement such feature. Do you think it should work in both
VK>> directions (that is, when renaming a property and when renaming a
VK>> field)?
VK>>
VK>> Valentin Kipiatkov
VK>> Chief Scientist, Vice President of Product Development
VK>> JetBrains, Inc
VK>> http://www.jetbrains.com
VK>> "Develop with pleasure!"
>>> I'm using m_ prefix for member varialbes. When I'm trying to rename
>>> the varible, Resharper does not prompt me to rename the associated
>>> propertys...
>>>

Sincerely,
Ilya Ryzhenkov




0

Please sign in to leave a comment.