if I do CTRL-click on method's name in VS2012 with Resharper 8, I'm redirected to the method's "declaration" - and that's quite inconvenient if I have lots of interfaces in my project.
If it possible to configure resharper to go right to the IMPLEMENTATIONS of the method (and if there is more than one - display a context menu which I need to select the desired method from)? I can achieve this if I do right-click -> "Go to Implementation" but I really prefer to have this on ctrl-click.
Choose Navigate | Go To Implementation in the main menu, press Ctrl+F12 , or click the symbol while holding Ctrl+Alt keys. Note that in Visual Studio 2017 and later, the Ctrl+Alt -click is used for adding multiple carets.
Go to implementation To navigate to the super method, press Ctrl+U . To navigate to the implementation, press Ctrl+Alt+B .
Go to Tools -> Options -> Keyboard, Reset all settings. Restart your visual studio and then try to use F12.
CTRL+Click = Go to declaration
CTRL+ALT+Click = Go to implementation
CTRL+SHIFT+Click = Peek to declaration (Visual Studio 2013)
I don't think you can re-assign the CTRL+LeftClick Option. Per their documentation.
By default, Go To Declaration is available by Ctrl + left-click. To change the default behavior, use controls on the Search & Navigation page of the Options dialog box. For more information, see ReSharper Options: Environment: Search & Navigation
Since it says "change", I went and checked the Search & Navigation section mentioned above to verify if this behavior can indeed be changed. But the change is simply a Checkbox
that says.
Go To Declaration on <Control + Left Click> in editor.
I unchecked this option and saved it, and now, I get nothing if I CTRL+Left Click
a method name. So I think you can only disable or enable this option, not re-assign the keys.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With