score:-1

i don't work in vs much, so i haven't used it, but i've heard incredibly good things about resharper from everyone i know who does. everyone has told me it's worth every penny, and significantly improves efficiency in visual studio. i think it has a feature like what you're looking for, along with a ton of others.

score:0

i prefer to bind go to definition to ctrld. this makes it extremely easy to use either with both hands on the keyboard (ctrld to go tho the definition of the symbol under the cursor) or one hand on the keyboard and one hand on the mouse (click on a symbol, then ctrld).

score:0

all in all, both vs and eclipse have weird key shortcuts. i just had to respond, too: f12 is far too right on the keyboard and you have to leave the the mouse right hand for the keyboard to use it. as a long time vs user i just didn't find it until i searched for the ctrl+mouse equivalent in eclipse. it's completely borked. ok? no need to argue. (the same goes for f3 in eclipse going for definition. ???? why the face??? it's find next for pete's sake. but this can be removed after mastering the eclipse keyboard shortcut system in the course of a few years.)

anyway, as has been said here before, microsoft has already understood this can be an issue for new programmers coming in from eclipse, so they provided the power tools (i followed the link up above).

http://visualstudiogallery.msdn.microsoft.com/d0d33361-18e2-46c0-8ff2-4adea1e34fef/

score:0

if you are using visual studio 2017, you can use productivity power tools 2017

score:2

another option with vs (besides f12 and right-click > go to def) is add the code definition pane (view > code def window). this is essentially another editing pane that shows the code for the current symbol - no need to ctrl-click or anything. i keep it pinned to my secondary monitor. any time i need to see the implementation for a symbol i just click it and look over.

another nice thing about f12 is you can also do shiftf12 to find references to a symbol and f8 through them. the two go together like love and happiness.

score:3

i use the built in options (f12, right-click -> go to definition) but i know a lot of the guys at my company use resharper and it definitely has this functionality.

score:3

oh man, just install resharper!! (vs plugin) with it installed you just go and ctrl + click to go to definition.

this is not the only thing resharper does, try it out free!!!

score:3

microsoft released a visual studio 2010 extension named "productivity power tools" which now adds ctrl+click functionality. so if you're like me, and hate installing third-party addons, you can now have the same functionality!

score:5

if you have visual studio 2010 you can use "go to definition" by noah richards.

http://visualstudiogallery.msdn.microsoft.com/en-us/4b286b9c-4dd5-416b-b143-e31d36dc622b

score:15

visual assist supports ctrl+click as of june 2009 (build 1727). activate ctrl+leftclick in va options | advanced | general. (see the comment below.)

score:34

i'll answer the commentors who asked about the difference between ctrl-click and f12.

ctrl-click workflow:

  • move hand to mouse
  • move mouse to hover over variable name
  • other hand holds down ctrl key while you click
  • move mouse to position cursor, highlight, right-click, or whatever
  • move hand back to keyboard to continue typing

f12 workflow

  • move hand to mouse
  • mouse mouse to hover over variable name
  • move hand back to keyboard
  • hit f12 key
  • move hand back to mouse
  • move mouse to position cursor, highlight, right-click, or whatever
  • move hand back to keyboard to continue typing

if you assume the cursor is already positioned on the desired variable, f12 is better. however, that's rarely the case. also, if you stop after this specific action, assuming you want hands back at the keyboard, the cost is the same. but if you keep in mind that you probably had a reason for wanting to go to the definition, the ctrl-click workflow saves you an instance of moving between the keyboard and mouse.

score:52

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

score:67

if you use visual studio 2010, you can use the free visual studio 2010 productivity power tools from microsoft to achieve this.


Related Query

More Query from same tag