Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to remap the Ctrl+Click "Go To Definition" short-key in the Productivity Power Tools (or maybe ReSharper)

I love the Productivity Power Tools extension for visual studio, however it has added the Ctrl+Click "Go To Definition" functionality, which is great and all, but my workflow makes me use the functionality when I don't want it.

When I want to copy something, I start marking some text, still holding down the mouse button, hold down Ctrl + C and then release the mouse button. The tool acknowledges this as a Go To Definition click, and I usually end up in the definition of String or whatever. I know I could just release the Ctrl button prior to the mouse-button; however, I have a hard time reconditioning myself from a habit I have had since forever.

Is there a way to remap the Ctrl + Click Go To Definition functionality, say, to Ctrl+Shift+Click? I know I can deactivate it by going to "Tools>Options>Productivity Power Tools>All Extensions"; however, I don't want to lose the functionality just make it work as I want it.

Edits:

  • This might be a ReSharper issue.
  • This post discusses something similar
like image 894
André C. Andersen Avatar asked Aug 27 '12 07:08

André C. Andersen


1 Answers

Try going to ReSharper | Options -> Environment | Search & Navigation and turning off Go to declaration on <Control + Left click> in editor.

like image 183
Dmitry Osinovskiy Avatar answered Sep 29 '22 01:09

Dmitry Osinovskiy