Name 'XXX' does not match rule 'YYY'

I just installed the Resharper 5.0 beta (build 5.0.1565.10), and notice that the inspection/warning in the side bar for a line of code correctly says "Name 'xxx' does not match rule 'yyy'.  Suggested name is 'zzz'.

However, when I click on the variable name and then on the pop-up icon to get the context action, renaming it to 'zzz' is not an option.  In fact, there are no options for actually fixing the problem, just for changing the inspection settings and other various options unrelated to actually changing the code to be correct.

Just FYI.

Side question:  if I grab a nightly build to get a later version than the beta, do I need to manually uninstall first, or can I just install it over the existing install?

Thanks!

2 comments
Comment actions Permalink

It should also be noted that when I manually do a Refactor-Rename, the "suggested" name of "zzz" is not one of the options in the drop

down.  There needs to be consistency here... if the tooltip in the right-hand error stripe is suggesting a name, that name should be suggested in the refactor->

rename as well as in the quick-fix options, so it's easy to take the suggestion.

0
Comment actions Permalink

Hello Paul
     This is a known problem. Could you please check if this happens as well with the latest build from http://www.jetbrains.net/confluence/display/ReSharper/ReSharper+5.0+Nightly+Builds? Thank you!

Andrey Serebryansky

Support Engineer

JetBrains, Inc

http://www.jetbrains.com

"Develop with pleasure!"

0

Please sign in to leave a comment.