diff --git a/README.md b/README.md index 48da944..2c2008f 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -#Ref12 +# Ref12 This Visual Studio extension intercepts the Go To Definition command (F12) and forwards to the new [.Net Reference Source Browser](http://referencesource-beta.microsoft.com/). Simply [install the extension](http://visualstudiogallery.msdn.microsoft.com/f89b27c5-7d7b-4059-adde-7ccc709fa86e) from the gallery on Visual Studio 2010 or later, place the cursor on any class or member in the .Net framework, and press F12 to see beautiful, hyperlinked source code, complete with original comments (thanks to [Kirill Osenkov](https://twitter.com/KirillOsenkov) for his amazing work on this web app). @@ -9,7 +9,7 @@ No more "From Metadata" tabs! _VB support may be less reliable_; I needed to delve more deeply into the undocumented syntax tree APIs and may have missed some cases. If you notice that F12 isn't working when it should or if it jumps to the wrong method, please file a bug, and include the full line of VB source that you pressed F12 on. -##Known Issues +## Known Issues - The reference source code does not support links to overloaded operators, so F12 on operators is not handled. - C#: F12 in Metadata as Source tabs (from assemblies without source) does not work on VS2012 or 2010. I can't find any way to get the compilation for these tabs from the language service. @@ -17,7 +17,7 @@ If you notice that F12 isn't working when it should or if it jumps to the wrong - VB: F12 on attribute properties does not work. I cannot find any way to resolve them to symbols. - VB: F12 on `As New` constructor references does not work. -##Implementation +## Implementation This extension uses undocumented APIs from the native C# language services to find the [RQName](http://msdn.microsoft.com/en-us/library/microsoft.visualstudio.shell.interop.ivsrefactornotify.aspx#remarksToggle "Refactor-Qualified Name") of the identifier under the cursor, checks if it's defined in an assembly included in the Reference Source ([list](http://referencesource-beta.microsoft.com/assemblies.txt)), and opens the correct URL in a browser. It uses MEF to import `IReferenceSourceProvider` instances that can navigate to members in specific assemblies; you can export implementations of this interface to add other external source providers. @@ -30,5 +30,5 @@ Because Roslyn references newer versions of the VS editor assemblies, the Roslyn ![F12 to .Net Reference Source](http://i1.visualstudiogallery.msdn.s-msft.com/f89b27c5-7d7b-4059-adde-7ccc709fa86e/image/file/125181/1/ref12%20screenshot.png) -#License +# License [MIT](http://opensource.org/licenses/MIT)