Gallery > Tools > Go To Definition
Products and Extensions for Visual Studio
Each contribution is licensed to you under a License Agreement by its owner, not Microsoft. Microsoft does not guarantee the contribution or purport to grant rights to it.

Go To Definition

(Free)
J. Lucas | November 17 2009

Small, simple, and very useful.

  • Silly Qiestion - from another MSFTie
    1 Posts | Last Post: November 03, 2009

    • Hi Noah - I haven't tried, but curiously why does a task that (to me) seems very straightforward - assigning an action to a mouse+key combo - need an extension? Isn't there someway using the keyboard options to do this?
  • version 1.1
    2 Posts | Last Post: November 03, 2009
    • Where I can get version 1.1 for Visual Studio beta 1
    • There isn't one published anymore, but you can grab the sources from github from before the changes to update the extension for Beta 2. This should be the one:

      http://github.com/NoahRic/GoToDef/tree/052b0a2c27bc215460231ab7c05266fea6791dfa

      -Noah
  • VS2005 support ?
    2 Posts | Last Post: May 27, 2009
    • This is an amazing tool, but unfortunately I'm still using VS2005.
      Is there or will be a version for VS2005 too ?
      Thanks
    • Sorry, no - this is an extension for the new editor in VS2010.

      -Noah
  • Does it work for C/C++?
    2 Posts | Last Post: May 24, 2009
    • Does this extension work for C and C++? and can you chose the color of the selected identifier? (the default blue)
    • I played around with C for a bit, and it does appear to work for it, since the C and C# languages services do a lot of things very similarly. Technically, it makes ctrl click invoke GoToDefinition on whatever word you click on (even if it isn't underlined), so it works in any language. The underlining works by detecting which words are classified as some type of "identifier" or "user type", which C and C# both do. VB, unfortunately, doesn't classify all identifiers/user types, so few things will get underlined. I didn't play around with F# or aspx at all, though the underlining may work to a varying degree with those as well.

      You can't change the color of the identifier in the Fonts and Colors options dialog (due to an issue in beta 1), but you could change it programmatically or by modifying the source. I'm hoping to get this extension and the ItalicComments up on codeplex or someplace similar in the near future. In the meantime, if you'd like, I can help you write a little extension for yourself to change the color or get a modified version of this extension with a different color. You can ping me at noahric at microsoft.

      Thanks!