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)'.
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.
@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.
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 is already using F12.
When I click right click on `List<T>` :
If I click "goto definition" , it goes to
If I click the "native" it goes to :
so how can I make this extension work ? only if i turn off R# , it works
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
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?
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.