Build 2155: Rename Fails

These two are somewhat strange and hard to reproduce because they seemingly
happen at random.

In the first instance, I select a parameter to a method I want to rename and
press CtrlR,CtrlR. After a couple of seconds the Rename dialog comes up so
I enter the new name and press ENTER. It then asks if I want to rename
related parameters, so I press ENTER again. At this point the Rename dialog
immediately dismisses but it doesn't rename anything that I can see.

In the second instance, I select a variable within a method I want to rename
and press CtrlR, CtrlR. I then type a new name that isn't in the list and
press ENTER to complete the rename, but the last character is missing from
every instance of this variable except the declaration. In one case, I was
trying to rename a variable to something like fields and ended up with
something like this:

IList fields . . .;

field.Add(foor, bar);
field.Add(baz, boo);
return field;

This is with Visual Studio 2010 and a fairly large web project (and about
half a dozen DLL projects) targeting .NET Framework 3.5.

4 comments

Hello Greg,

I've assigned a task to our QA engineer: http://youtrack.jetbrains.net/issue/RSRP-269140
and we'll try reproducing this behavior on our side. Thank you!

Andrey Serebryansky
Senior Support Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

These two are somewhat strange and hard to reproduce because they
seemingly happen at random.

In the first instance, I select a parameter to a method I want to
rename and press CtrlR,CtrlR. After a couple of seconds the Rename
dialog comes up so I enter the new name and press ENTER. It then asks
if I want to rename related parameters, so I press ENTER again. At
this point the Rename dialog immediately dismisses but it doesn't
rename anything that I can see.

In the second instance, I select a variable within a method I want to
rename and press CtrlR, CtrlR. I then type a new name that isn't in
the list and press ENTER to complete the rename, but the last
character is missing from every instance of this variable except the
declaration. In one case, I was trying to rename a variable to
something like fields and ended up with something like this:

IList<string> fields . . .;

field.Add(foor, bar);
field.Add(baz, boo);
return field;
This is with Visual Studio 2010 and a fairly large web project (and
about half a dozen DLL projects) targeting .NET Framework 3.5.



0

Hello,

In the first instance, I select a parameter to a method I want to
rename and press CtrlR,CtrlR. After a couple of seconds the Rename
dialog comes up so I enter the new name and press ENTER. It then asks
if I want to rename related parameters, so I press ENTER again. At
this point the Rename dialog immediately dismisses but it doesn't
rename anything that I can see.


Might be a case of a silent exception. On WOW6432 on 64-bit systems, exceptions
are swallowed without any indication sometimes, especially when UI is involved.
If the behavior is reproducible, attaching a debugger and breaking on all
exceptions might help with catching the missed exception, if there is any.


Serge Baltic
JetBrains, Inc — http://www.jetbrains.com
“Develop with pleasure!”


0

Unfortunately, I couldn't reproduce this behavior. Could you please
provide us with a simple solution if you are still experiencing this
issue. Thanks in advance! Please, reopen reopen YouTrack request if it
still reproducible on your side
http://youtrack.jetbrains.net/issue/RSRP-269140.

--
--
Kirill Falk
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

0

Thanks, Kirill. It seems to be fixed in the later builds.

"Kirill Falk"  wrote in message
news:isar9d$soo$1@nntp-server.labs.intellij.net...

Unfortunately, I couldn't reproduce this behavior. Could you please
provide us with a simple solution if you are still experiencing this
issue. Thanks in advance! Please, reopen reopen YouTrack request if it
still reproducible on your side
http://youtrack.jetbrains.net/issue/RSRP-269140.

--
--
Kirill Falk
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

0

Please sign in to leave a comment.