Interferes with default functionality of Ctrl+click, which highlights the whole word when clicked, making precision less important and saving me ~200-300 ms when I want to highlight a whole word.
While reaching for F12 wastes that same ~200-300 ms, it's far less likely (because it's explicit) to derail my current workflow than having to recover from accidentally navigating when I meant to be copying.
v2.5. ignores Ctrl+Shift+click because it has other bindings, but would propose that user can define key+click combo instead (I don't use default Ctrl+Shift functionality often, so for my workflow, Ctrl+Shift+click for F12 functionality might be useful).
A fantastic extension I've been using since VSS 2010 and have just installed VSS 2013.
In common with @a5Digital, I too would like a way of navigating 'Peek Definition' but wonder whether this functionality is exposed by the API. There is no mention of 'peek' in the docs for VSConstants.VSStd97CmdID (http://msdn.microsoft.com/en-us/library/microsoft.visualstudio.vsconstants.vsstd97cmdid.aspx). So it doesn't seem possible - or am I missing something?
It wouldn't be in the "97" set, since that was for VS 97, so waaaay too old :) Check the values in the vsstd12cmdid section, which has peek definition + peek navigate (http://msdn.microsoft.com/en-us/library/microsoft.visualstudio.vsconstants.vsstd12cmdid.aspx).
For me it's the best plugin ever for visual studio. It's the fastest way of navigating. Just one suggestion: I think it would be nice if Ctrl+RightClick on a keyword triggered the search for references of a function.
I agree with most of these reviews - this extension is a must. However I there is so much more potential here which would leave me baffled if the author doesn't explore the possibility of augmenting this:
a) allow for another key combo + left click perform a peek definition b) allow for another key combo + left click perform a find all references
If these are exposed via the API (and I believe they are), adding these features should be fairly trivial.
Sending a different command would be pretty easy to add, yup. If you want it to be configurable, that's more difficult, but just hardcoding combinations wouldn't be bad.
If you're curious about implementing it yourself, the source is here: https://github.com/noahric/gotodef. The actual command logic is in DispatchGoToDef in GoToDefMouseHandler.cs, so you could probably modify that function (or add new functions) for peek or find all references. Since the extension is still built to be compatible with VS2010, you'd want to hardcode the cmdset/cmdid for peek definition and do a version check first, though.
If you have any questions, let me know on the Q&A!
Works with VS 2013. It just requires some manual work: 1. Download the .vsix file 2. Unzip it (e.g. using 7zip) 3. Open the vsixmanifest file and add the following block to line 22 <VisualStudio Version="12.0"> <Edition>Pro</Edition> </VisualStudio> 4. Save and Zip all files again 5. Rename the .zip to .vsix and install it
Can you Please add the option F12 - to to Definition ? Resharper has made this function invalid and just brings me to the top of the page or to the object browser . I don't like using the mouse as much as key presses.
Many thanks !!
It's very useful to navigate to definition via Ctrl+Click, but sometimes I need to open peek definition, is it possible to configure Ctrl+Shift+Click to open peek definition in current version or maybe you could add such functionality in next version of your extension?
Thanks for this great tool. Was wondering if you could add Ctrl+Alt+Click as a 'Go to Implementation' option. I deal with a lot of interfaces along the way, so this would be a great time saver.
... Or at least make it so that it is harder to hit. Any time I am coding quickly there is a bit of time-overlap during my clicks and my key presses.... so if I am move along quickly - particularly if I'm copying and pasting - it's about a 50/50 shot that this thing will pop up and stops me in my tracks.
It's very frustrating.
I've modified current VSIX package (just added VS2015 support).
You can download Go To Definition for Visual Studio 2015 here
Download, Unzip, Run GoToDefVS2015.vsix, restart Visual Studio and enjoy it.
I think this would be a very userful feature (at least for me): go to definition from XML comments like those:
/// A loader, that is responsible for retrieving XYZ from the database.
/// E.g: <see cref="MyLoaderClass"/>.