8

Is it possible to create a short cut in Visual Studio that includes a left mouse click?

Currently, Ctrl + Left Click short cuts to Go to Declaration.
I'd like to map Ctrl + Shift + Left Click to Go to Implementation.

I know I can create a keyboard only shortcut, but I'd like to include the mouse.

enter image description here

Philip Pittle
  • 11,821
  • 8
  • 59
  • 123
  • 1
    This may help: http://stackoverflow.com/questions/38925495/bind-mouse-side-buttons-to-visualstudio-actions – Suresh Jan 22 '17 at 23:44
  • @sthotakura - that answer looks pretty intense. Hooking into the global windows event stream for mouse events? Was hoping for something a little simplier? – Philip Pittle Jan 27 '17 at 00:48
  • I cannot believe this is not possible without a third-party extension or unreasonably intensive work-around. – Joshua Kemmerer Jan 02 '18 at 21:57
  • @JoshuaKemmerer - I think this got better in VS 2017, but I'm not sure. I've just been using ReSharper. – Philip Pittle Jan 10 '18 at 21:12

1 Answers1

2

From what I know this is not supported by default in Visual Studio.

You can have Ctrl + Alt + Left Click to go to implementation with ReSharper.

Using ReSharper you have an option for this in ReSharper options: enter image description here

ReSharper is a paid extension that brings a lot of great features to Visual Studio. I'm not affiliated in any way with ReShaper. I'm just a fan of the extension.

Alex
  • 937
  • 3
  • 20
  • 44
dexter
  • 1,217
  • 9
  • 12
  • 1
    That was exactly what I was looking for!!! Even had the option turned on in ReSharper, just didn't know the key combination. – Philip Pittle Jan 31 '17 at 08:41