Ref12

Free

Forwards F12 to ReferenceSource.Microsoft.com instead of showing metadata.

(21) Review
Visual Studio
2015, 2013, 2012, 2010, 15
Download (33,364)
5/8/2016
4.3
E-mail Twitter del.icio.us Digg Facebook
Add to favorites
Description
Reviews (21)
Q and A (15)
Sign in to write a review
Sort by:

by gregstoll | May 25 2016

Very handy!

by Wilhelm.Medetz | May 18 2016

by sevin7 | May 04 2016

Very useful, thank you!

by aaqylha | September 29 2015

2015-09-29 11:07:55: Ref12: Errors occurred while trying all reference URLs; Ref12 will not work:

System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: The remote name could not be resolved: 'referencesource.microsoft.com'

System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: The remote name could not be resolved: 'source.roslyn.codeplex.com'

by Yatajga | February 20 2015

by keith0930 | February 10 2015

by Anton K2 | September 16 2014

by Takashi Harada | August 31 2014

by Russak | May 07 2014

Great extension!

by JamyRyals | April 10 2014

This is an amazing extension. No more from metadata screens for Microsoft's code!

by grahame-sd | April 03 2014

This is a great extension. Just hit F12 and you're in the .NET source code. I've been using it since it came out and it is extremely useful.

Thanks to Schabse for such a simple to use and very helpful tool.

by Christiaan Rakowski | March 31 2014

by Wasif Hossain | March 15 2014

by Timothy Ritzer | March 06 2014

This is a great tool. VB.Net support would make this a daily driver for me. As-Is I can only use it for occasional side projects.

Add me to the VB Please crowd.

Schabse S. Laks March 30 2014
| Edit |
Delete

I just finished VB support!

by Joel Mueller (SNL) | February 25 2014

This is great. Please add support for F#.

by JVS | February 25 2014

Could you please add support for Visual Basic?
Thanks.

Schabse S. Laks March 30 2014
| Edit |
Delete

Done.

by MikNik | February 25 2014

VB please?

Schabse S. Laks March 30 2014
| Edit |
Delete

Done.

by FLLD | February 25 2014

We want VB.NET support, please

Schabse S. Laks March 30 2014
| Edit |
Delete

I just finished VB support!

by Toni Wenzel (CHG) | February 25 2014

A VB.NET solution would be amazing!

Schabse S. Laks March 30 2014
| Edit |
Delete

I just finished VB support!

by Mads Kristensen | February 24 2014

This works great. Thanks for writing it!!

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


  • .NET Core and SharedProject support
    2 Posts | Last post April 12, 2016
    • Great extension, thanks!
      Now that MS is pushing more and more the UWP, we not only have to deal with the .NET Framework but also the .NET Core.
      One possibility in the app conversion is to move most of the code in a "shared project" which will be either over .NET Framework 4.x for Desktop app (cmd, WPF, Winforms) or over .NET Core for UWP and portable/Xamarin App
      https://blogs.msdn.microsoft.com/dotnet/2014/04/21/sharing-code-across-platforms/
      
      Could you somehow add the support of this?
      Pressing F12 in these scenario still get to the metadata page.
      At a first step, having the F12 working for the code in a "Shared project"  with the .NET Framework code would be already helpful! Eventually, a full support would allow a simple comparison between the implementations under the hood.
    • Add support for what, exactly?
      I am not aware of any hosted SourceBrowsers for other frameworks.
  • Go to definition binary reference but loaded in solution
    1 Posts | Last post September 18, 2015
    • Our build system prefers binary references instead of project references, but the project is still loaded in the same solution. It would be fantastic if this could be made to work by looking to see if the referenced DLL is the same as the OutputPath and assembly as one of the currently loaded projects and then do a go to definition source lookup in that other project. This would solve a huge head-ache for us. Possible?
      Example:
      Solution X as two projects. A and B
      A OutputPath=C:\binaries\ (which would create C:\binaries\A.dll)
      B has a reference to A.dll with a HintPath of C:\binaries\A.dll
      If Ref12 could figure that out and know that the source is in the A project instead of just loading the metadata screen for A.dll types. Success! :)
  • Error in VS2015 RTM
    1 Posts | Last post August 04, 2015
    • When I install this extension in VS2015 and hit F12, I get:
      
      ```
      Method not found: 'Microsoft.CodeAnalysis.Document Microsoft.CodeAnalysis.Text.Extensions.GetOpenDocumentInCurrentContextWithChanges(Microsoft.VisualStudio.Text.ITextSnapshot)'.
      ```
  • Command interception...
    3 Posts | Last post July 28, 2015
    • Hi, 
      
      I am using Resharper; this extension also intercepts the "Go To" command. I would like to keep the default command intact, because one might not be interested in the reference code all the time when using F12. But having the ability to use a different shortcut, for instance Shift+R+F12 would make the extension more usable.
      
      Resharper does a similiar thing; F12 shows metadata. If the symbol is abstract, one can use Shift+F12 to go to the concrete implementation. Just my two cents...
      
      Anyway, nice idea. Keep up the good work.
      
      Best regards,
      Matthias
    • I added a new command to run the original F12 logic and show metadata.
      (Right-click, Go To Definition - Native, or search Keyboard Shortcuts for native)
    • @Matthias Friedrich m Did you find a solution for working with it AND with resharper ? this plugin only works when I disable resharper. and I don't understand how the goto native command should help here. the problem is not with the native command but with the new ref12 command. 
  • Why did you override F12 at first place ? rather than ADD command
    1 Posts | Last post July 28, 2015
    • You should have **add** command to *your* functionality rather than OVERRIDE existing functionality. look how many problem it causes. Resharper uses it 
      
      Just add a command : "goto reference Source" or something like that.
      
      It all looks that you did it backwards.
      
      
  • Resharper already using F12
    1 Posts | Last post July 26, 2015
    • Resharper is already using F12.
      
      http://i.imgur.com/X14JHfZ.png
       
      
      When I click right click on `List<T>` : 
      
      http://i.imgur.com/GW9chXA.png
      
      If I click "goto definition" , it goes to 
      http://i.imgur.com/vI3aonS.png
      
      
      If I click the "native" it goes to  : 
      http://i.imgur.com/N8wOJFL.png
      
      so how can I make this extension work ? only if i turn off R# , it works
      so ?
      
  • call to index/assemblies.txt
    1 Posts | Last post October 01, 2014
    • The tool seems to be trying to get make a call to http://index/assemblies.txt just before http://source.roslyn.codeplex.com/assemblies.txt and http://referencesource.microsoft.com/assemblies.txt. 
      
      Is it supposed to do this or is it a bug? On my machine I don't have an index so it it returns a Http 502 error for this
      
  • support for Peek Definition
    2 Posts | Last post August 27, 2014
    • Great extension! Any chance this could work inside a peek definition window?
    • I actually tried to make that work, but I couldn't find any way to add my interceptor to the editor created for Peek.
  • Change F12 key
    2 Posts | Last post August 27, 2014
    • I useF12 A LOT to just take a brief look at the class. Now going to a browser and loading ALL the source code, it's impossible to digest all that information. Could you please change the key to not be F12, or at least allow me to change it?
    • I added a new command to run the original F12 logic and show metadata.
      (Right-click, Go To Definition - Native, or search Keyboard Shortcuts for native)
  • Do not replace a standard MSVS command
    3 Posts | Last post August 27, 2014
    • Hello!
      Thank you for a nice extension!
      
      Is it possible to add option to keep standard behavior of F12 and make a separate command for navigating to reference source? Or you can add some custom way to get a standard metadata view.
      
      In some cases, it's very convenient, to see, copy to a clipboard or print only declarations from a standard metadata view.
    • You can try using Alt+F12 and see if it meets your needs.
    • I added a new command to run the original F12 logic and show metadata.
      (Right-click, Go To Definition - Native, or search Keyboard Shortcuts for native)
1 - 10 of 15 Items