Resharper 5: Resharper.GotoDeclaration is not currently available
Greeting all,
I just upgraded R# 4.5 to R# 5.0.
I am trying to navigate my code with the Resharper.GotoDeclaration command (bound to f12) and it's doing nothing. I rebound the command to another key stroke to see if it was something with the f12 key. When I try to use my new keystroke I keep getting the "The key combination (blah) is bound to the command (ReSharper.GotoDeclaration) which is not currently available.
I am not exactly sure why I am getting this and it's not navigating to my class. I am in a code window, not in debug mode, on a class name that I created smacking f12 or my custom key stroke to the point where I am ready to throw the keyboard out the window.
What am I doing wrong? Why is the command not available? Did I piss of the resharper gods? If I did, I am sorry, just make my goto declaration work, please..
Environment:
VS 2008
Resharper 5.0
Thanks in advance..
cmb..
Please sign in to leave a comment.
Hello Craig
Does other ReSharper functionality (such as code analysis, Go To Type/File/Member etc) work fine? Please make sure ReSharper is not suspended under Tools > Options > ReSharper > General. Thank you!
Andrey Serebryansky
Support Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
Hi Andrey,
Checked Tools > Options > ReSharper > General. Resharper is enabled.
I can use commands like GoToFileMember, GoTo Type, Highlight usages, etc fine.
It's just the GoToDeclaration which doesn't do anything.
I can right click on the class name and select goto declaration from the context menu and that works.
cmb..
Hello Craig
Please open Tools > Options > Environment > Keyboard and assign F12 to 'ReSharper.ReSharper_GoToDeclaration' command in Global and Text Editor contexts. Let me know if this helps.
Andrey Serebryansky
Support Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
Hi Andrey,
That seemed to do it.
So being the curious fellow that I am: What is the difference between Resharper.GoToDeclaration and Resharper.Resharper_GoToDeclaration.
cmb..
I had the same problem which was corrected by the solution you recommended.