15

I would like to CTRL+ CLICK from "Go To Definition" to "Go To Implementation".

And make CTRL + Right Click "Go To Definition"

Possible?

Thanks

SexyMF
  • 10,657
  • 33
  • 102
  • 206

2 Answers2

6

Could not find a way to edit this but there's an extension that allow for CTRL+mouse-"middleClick" that trigger a "Go To Implementation".

MiddleClickDefinition:

https://marketplace.visualstudio.com/items?itemName=norachuga.MiddleClickDefinition

Johan Helsén
  • 323
  • 4
  • 12
1

Another option I found: Use AutoHotKey.

You can use this script to intercept Ctrl + Left mouse click and change it into Ctrl + F12 only inside visual studio:

#IfWinActive, YourAppName - Microsoft Visual Studio
^lbutton::^F12

I used the window inspector tool in AHK to see the name of my visual studio window. In my case I only need this for a specific project so it only runs when inside that exact window name.

lucky.expert
  • 743
  • 1
  • 15
  • 24