Your extension will be available shortly on the Visual Studio Marketplace at this link.

Go To Definition

Free

Make ctrl+click perform a "Go To Definition" on the identifier under the cursor. Also, when the ctrl key is held down, highlight identifiers that look like they have definitions to navigate to.

(85)
Visual Studio
2015, 2013, 2012, 2010
Download (166,661)
11/9/2015
2.6
View
E-mail Twitter del.icio.us Digg Facebook
Add to favorites
Description
Sign in to write a review
Sort by:

by masterxilo | October 16 2016

by Gilbert_F | October 13 2016

by Rail Fish | September 03 2016

by FredrikH | July 06 2016

by dandy12 | June 08 2016

Works as described in Visual Studio 2015.

by oskary | April 23 2016

Very nice, the blue color could be a little lighter, hard to read when using a dark VS theme.

by flop2003 | February 02 2016

Had this extension working in VS2012. Can NOT get it working in VS2013. Unfortunately no helpful Q&A to this (common!) problem either. Not useful at this stage.

by Fabrice De Backer | January 31 2016

Thanks a lot for this! (the blue color of the link is maybe odd in dark theme, but that's peanuts)

by ant_pt | January 30 2016

by Nils35 | January 14 2016

Brilliant

by zcloud01 | December 29 2015

Very useful tool.

by Nikita Kunevich | December 05 2015

Works as expected! Must have. But it lacks very useful feature of navigation to included files

by Leonardo Méndez Saldías | November 24 2015

Excelente! Extrañaba esta función tan útil y que viene en NetBeans. Gracias al creador. 5 Stars

by Cocus | September 16 2015

Simply, amazing! That was the last thing this IDE was missing.

by Mike Malburg III | August 26 2015

A simple but useful module which really helps with my productivity when I used previous versions of Visual Studio. I also use Netbeans and Eclipse, and I love this feature in those editors and use it constantly.

Hitting F12 for me is not as quick/natural for me, personally. Productivity Power Tools has similar functionality of allowing you to control+click to peek a definition in VS2015, but I like the behavior of going to the definition much better than peeking it.

I think it would be nice to extend this module (or PPT) so that you can define peek and go to definition as shortcuts and have them as for instance control+click for one and shift+click for the other one, and just allow you to choose which maps to which function.

by VadimPanov1971 | August 25 2015

This is one of most useful extensions for me. Author, please create a release for VS2015 ASAP!!!

by Dale Newman | July 27 2015

Perfect. Thank you.

by OlegO. _ | July 23 2015

You can download Go To Definition for Visual Studio 2015 here
http://blog.virtosoftware.com/2015/07/go-to-definition-for-visual-studio-2015-download.html

Download, Unzip, Run GoToDefVS2015.vsix, restart Visual Studio and enjoy it.

I've modified current VSIX package (just added VS2015 support).

by raf nas | July 09 2015

Working perfectly with VS2013. Simply install and re-open VS.

by FecoD | May 15 2015

Love the tool, please add vs 2015 support :)

1 - 20 of 84 Items   
Sign in to start a discussion


  • Please change to Alt+Click in VS-2013
    2 Posts | Last post October 08, 2014
    • Sometimes I do want to promote to document rather than just peeking definition.
      Please refer and reply to this discussion:
      http://stackoverflow.com/questions/26247822/mouse-shortcut-for-go-to-definition
    • This extension was never updated, so I think you want to give that feedback to the VS team. Sorry!
      
      -Noah
  • Go to #region
    1 Posts | Last post August 25, 2014
    • For the next version, it is possible to implement the Ctrl + click on #regions to go to his #endregion and vice versa?
  • ctrl+click for "go to", ctrl+shift+click for "open peek window"
    1 Posts | Last post June 22, 2014
    • hi!
      is it possible that you add ctrl+shit+click to open peek window at location? (alt+f12)
      
  • Make the addin work with other windows like Output
    2 Posts | Last post June 02, 2014
    • I used to use the "Go to definition" feature of pre-2012 versions of Visual Studio to navigate identifiers that came from build errors (which happens excessively often when something goes wrong while comipiling templates).
      
      It is counter productive to have to copy/paste identifiers from the build output to a code window that does not deserve polluting, only to then use the addin.
      
      Would it be possible to make this addin work in the context of any text window, like the build output?
      
      Thanks
    • It may be possible, but definitely not straightforward. The extension itself doesn't actually do the "Go to definition" logic, it just basically triggers a press of F12 (the GoToDefinition command). If F12 does work in the output window, then it's just a matter of getting the extension there and figuring out what to underline on ctrl+mouseover.
      
      -Noah
  • Go To File
    1 Posts | Last post May 13, 2014
    • It would be nice if it did open includes (the equivalent of Ctrl+Shift+G).
      
      I also second that Ctrl+middle click should open peek
  • Go to definition across different languages
    1 Posts | Last post November 28, 2013
    • I've had a problem for ages while working on a legacy site that was built in VB.NET and we've added C# projects to it.
      The problem seems to be that Go To Definition doesn't work across the projects. 
      I even tried setting up a test solution to see if the problem existed on a brand new one and it still did.
      
      I've tried all the solutions I've found on the net around using Project References and not File ones but nothing seems to work.
      
      Well, one thing works. ReSharper. Unfortunately, ReSharper is quite overkill just to get Go To Definition working properly...
      
      Is there any chance your extension could fix this bug and enable the Go To Definition (And Find Usages if possible :P) across projects?
  • Can this be modified to perform a Peek Definition?
    3 Posts | Last post November 20, 2013
    • I love this extension.
      
      Is it possible to have a different combo (perhaps CTRL+ALT + left click) do a peek definition in addition to the default CTRL + left click performing a goto definition?
    • Hey Noah.
      
      I'm not comfortable in making this change myself. Given your response to my review comments indicating that it wouldn't be too hard to implement peek definition and find all references with a non-configurable key combination, would you consider?
      
      Perhaps:
      CTRL + Left Click == goto def
      CTRL + Middle Click == peek definition
      CTRL + Right Click == find all references
      
      what do you think?
    • ...well now that MS's PPT 2013 extension is out, which can do a peek definition with the ctrl-click, I guess this request (and extension) is no longer needed...
      
      unless this one provides the ability to do both (peek and goto def) via different mouse buttons / key combo.
  • [Shift] + [Ctrl] + Click
    3 Posts | Last post November 10, 2013
    • without this plug-in, when I click on a word, hold [Ctrl] and [Shift], and click on another word, it selects the everything between both clicks including the whole words.
      however when I have this plug-in installed it tries to jump to the word I click on even if it isn't a hyperlinked one.
      
      it would be nice if you ignored jumping if, other keys were pressed, specifically in this case the [Shift] key.
    • Hi, the functionality you're describing doesn't require the use of the Ctrl key. Click once in the file, then Shift+Click to where you want the selection and it should select everything in-between. Ctrl is not needed.
    • Hey Ben, 2.5 should now ignore shift+ctrl as a combination. Let me know if you get a chance to try it out. Thanks!
  • Please make this work with VS13
    5 Posts | Last post November 10, 2013
    • I love this little extension please make it work for vs 2013
    • +1 
    • Highly needed for VS2013!
    • Sorry guys! I'm working on it, but I lost my windows VM and so I had to rebuild things (a few days of installing software and updates). I should be all set up to rebuild and then test with vs2013, so I'm hoping to get it done this weekend.
      
      -Noah
    • 2.5 should now support VS2013. Let me know if you run into any issues, thanks!
  • Ctrl+Click works for all possible tokens in DSL
    7 Posts | Last post August 26, 2013
    • @Noah, I changed the names of the "identifier" DSL tokens so that the "conflict" doesn't exist anymore. But now I have another problem, which only occurs while the documents of my DSL are part of a C++,C# project. 
      
      GoToDef tries to find the definition of all tokens in my document, even though the names of the tokens are completely irrelevant with your extension. 
      
      The funny thing is, that only the tokens I allow in my extension are underlined, but when I click, your command handler is invoked rather than mine. 
      
      All this started to happen, as I added an ILanguageInfo implementation to my plugin. If I remove this, everything works as it should.. 
      
      Any ideas ?
    • Correction, it occurs even if the document is not part of a C++ project. The underlining works fine according to my plugin - but the cursor does not change and when I click on an item your command handler is getting called instead of mine.
    • During debugging, I found out that your command handler is called after my command handler. I think I will have to debug your plugin :).. I'll keep you posted.
    • I managed to workaround through your plugin. I had to implement IVsCodeManager and add a filter for my textview in between. 
      
      Would it not help if you export your plugin only for C++,C# etc. instead for text content type ?
    • (When you say "text" content type, are you talking about the classifier? The mouse handler is "code", so the rest of the question assumes you meant that)
      
      > Would it not help if you export your plugin only for C++,C# etc. instead for text content type ?
      It would probably help your specific issue to enumerate which content types support GoToDef, though then it'd have the opposite problem from this: opt-in instead of opt-out, so it would miss supported languages. It turns out that many/most third party languages, even DSLs, tend to implement Go To Definition for *something*, even if it isn't a "definition".
      
      Your case is an interesting one, though. Content types don't provide an anti-list, so there's no good way to say "code, but not some other content type". Added to that, VS doesn't ship with a standard "DSL" content type or, more appropriately, an "I-support-Go-To-Definition" content type, so all the extension can really do is guess. I had always hoped that the product team would make it a part of VS and make it possible for these to be less hacky, but the good/bad thing is that the extension tends to work pretty close to correctly in most scenarios, so I don't think there was a strong desire to spend the extra effort making it perfect. I wouldn't know, though, as I left VS/Microsoft over 2 years ago.
      
      As for the mouse handler, if your handler is being called first and you don't want anything else to happen with that mouse event, you can mark e.Handled to true. It may not be the right solution in the general case, since there may be some later default behavior that's desirable, but it's worth testing, at least.
      
      All said, I'd still be happy to add some manual logic (to the mouse handler provider) to have it skip files of your DSL's content type, or some base content type that you've created and that others could use to opt-out. Just let me know, or send me a pull request on github.
      
    • Sorry, yes I meant code. The funny thing is, I tried debugging your plugin and it actually works as expected, because now I am exporting a content type specific for my DLS which does not even derive from text.
      
      But with power productivity tools it does not work. As this code is not open source, I can't debug, now do I have any idea where the problem may lie.
    • You can probably use .NET reflector to see what the productivity power tools version is doing.
      
      If this version of the plugin isn't incompatible with your plugin, you may want to consider moving/copying your review or other pertinent information to that extension's page. I don't have any control over that version and I don't even know who works on it (internally at Microsoft), so I won't be of much help there, sorry :(
11 - 20 of 41 Items