Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse's Ctrl+click in Visual Studio?

After working for a few days with Eclipse Java I totally got addicted to pressing Ctrl and clicking on an identifier to go to its definition. Since then I've been looking for a way to achieve this in Visual Studio as well.

I realize VS has right click, Go to definition, and that F12 does the same. I also realize that Visual Assist does something similar with Alt + G. Yet none of these are as perfect as Ctrl + click.

I've actually tried my luck for a few hours trying to write a VS plugin to do it but didn't get anywhere in the time frame I thought reasonable for this.

Does anyone know how this could be achieved? A ready plugin? A macro of some kind?

like image 652
shoosh Avatar asked Oct 03 '08 18:10

shoosh


People also ask

How do I enable Ctrl click in Visual Studio?

To enable Ctrl+click functionality, go to Tools > Options > Text Editor > General.

How do I add Ctrl D code to Visual Studio?

The default shortcut is Alt + Shift + .

How do I run a shortcut key in Visual Studio?

All keyboard shortcuts in VS Code can be customized via the keybindings. json file. To configure keyboard shortcuts through the JSON file, open Keyboard Shortcuts editor and select the Open Keyboard Shortcuts (JSON) button on the right of the editor title bar. This will open your keybindings.


2 Answers

If you use Visual Studio 2010, you can use the free Visual Studio 2010 Productivity Power Tools from Microsoft to achieve this.

like image 163
splintor Avatar answered Sep 28 '22 16:09

splintor


I use visual studio 2013 and 2015, I installed Go To Definition. To install this extension navigate on TOOLS -> Extensions and Updates.

enter image description here

like image 38
Se Song Avatar answered Sep 28 '22 16:09

Se Song