Generate Method Suggestions - Where Did They Go???

Morning,

I've been using Resharper for something approaching a year now.  Quite honestly, can't live without it.  But since having to nuke my machine and start over, there's been an outstanding niggle that's been irritating me.

Before, if I provided the name for a method that didn't exist on a class, resharper would jump into action, pop up it's little light bulb and suggest it creates the method on my behalf.  An Alt-Enter, Enter later and I had my method.  Considering I'm using a repository pattern, with a service, interface and repository implementations in play, this meant generating all the necessary methods took the better part of three seconds.  Now it's taking me a couple of minutes each time since this mechanism became broken.

Rather than a lightbulb, a small puple underline line appears to have taken its place.  If I hover over the purple line, Visual Studio's smart tag appears, pressing Alt-Enter gets me nowhere.

I have no idea why.  Code suggestion for the everything else appears fine.  But generating methods on classes, interfaces and deploying back down the chain appears to have completely borked.  I would really like my little light-bulb back.  Please?

One desperate developer.

1 comment

Hello Kian,

You probably installed SP1 which provide own analysis of that kind. And probably
ReSharper setting got reset somehow.

Check ReSharper Options / Code Inspection / Settings, and see if code analysis
is enabled.
Open Visual Studio Options / Text Editor / C# / Advanced, and see if Show
live semantic errors is disabled.

Sincerely,
Ilya Ryzhenkov

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


IR> Morning,
IR>
IR> I've been using Resharper for something approaching a year now.
IR> Quite honestly, can't live without it. But since having to nuke my
IR> machine and start over, there's been an outstanding niggle that's
IR> been irritating me.
IR>
IR> Before, if I provided the name for a method that didn't exist on a
IR> class, resharper would jump into action, pop up it's little light
IR> bulb and suggest it creates the method on my behalf. An Alt-Enter,
IR> Enter later and I had my method. Considering I'm using a repository
IR> pattern, with a service, inter
IR>
IR> face and repository implementations in play, this meant generating
IR> all the necessary methods took the better part of three seconds.
IR> Now it's taking me a couple of minutes each time since this
IR> mechanism became broken.
IR>
IR> Rather than a lightbulb, a small puple underline line appears to
IR> have taken its place. If I hover over the purple line, Visual
IR> Studio's smart tag appears, pressing Alt-Enter gets me nowhere.
IR>
IR> I have no idea why. Code suggestion for the everything else appears
IR> fine. But generating methods on classes, interfaces and deploying
IR> back down the chain appears to have completely borked. I would
IR> really like my little light-bulb back. Please?
IR>
IR> One desperate developer.
IR>
IR> ---
IR> Original message URL:
IR> http://www.jetbrains.net/devnet/message/5230457#5230457


0

Please sign in to leave a comment.