Build 79 - Rename

Nice product!

I'm refactoring some code, and using Rename (Shift+F6) a lot. Here's an
issue:

string MyString = "";
MyString += "some text";

Let's say I just want to change the variable name "MyString" to Camel case
("myString"). If I press Shift+F6, ReSharper gives me an in-place edit box
with "s", and replaces every occurance of "MyString" with "s".

I'd suggest this instead: put the current selection in the edit box and make
no replacements until the user types something. Suggestions such as "s" can
go in the drop down list.

..or maybe there is already an option for this behavior?

Jim



1 comment
Comment actions Permalink

Jim,

This is known bug in 79. Will be fixed in 80. Anyway, thank you very
much for the report.

--
Oleg Stepanov
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"Jim Paquette" <james.paquette@autodesk.com> wrote in message
news:c7asl8$9fi$1@is.intellij.net...

Nice product!

>

I'm refactoring some code, and using Rename (Shift+F6) a lot. Here's an
issue:

>

string MyString = "";
MyString += "some text";

>

Let's say I just want to change the variable name "MyString" to Camel case
("myString"). If I press Shift+F6, ReSharper gives me an in-place edit box
with "s", and replaces every occurance of "MyString" with "s".

>

I'd suggest this instead: put the current selection in the edit box and

make

no replacements until the user types something. Suggestions such as "s"

can

go in the drop down list.

>

..or maybe there is already an option for this behavior?

>

Jim

>
>


0

Please sign in to leave a comment.