I know this is an old question but for new people I recommend the extension "MiddleClickDefinition" in visual studio.
Here’s how you can set it up:
Install the Extension:
- Open Visual Studio.
- Go to Extensions > Manage Extensions.
- Search for MiddleClickDefinition and install it.
- you have to close accept a windows pop up of VSIX installer (not sure if it will automatically open after restart or when you open visual studio again)
Enable the Extension:
- After installation, go to Tools > Options.
- Navigate to MiddleClickDefinition settings.
- Enable the option to use middle-click for "Go To Definition".
Use the Middle Mouse Button:
- Now, when you middle-click on a method or variable in Visual Studio, it will trigger "Go To Definition" just like pressing Ctrl + F12
Extension in Tools>Options>MiddleClickDefinition