For example, when Microsoft releases another library in Reference Source form, they publish PDB files having links to their Source Servers.
#Download reflector for free code
The External Sources feature brings code available through information in PDB (Program DataBase) files straight into Visual Studio editor. ReSharper started assisting developers with this in version 5, by introducing navigation to and within external sources. Setting up binary reusable libraries even inside a single business entity can be a very painful thing to perform. However, many applications are quite large today, and handling them in source form tends to get more and more complicated. We have lots of source code storage systems with histories and branches, distributed and personal, tools ecosystem, and what not. Source code management has been in focus of the developer community for ages.
Why has ReSharper moved in this direction? Some things are not yet supported, for instance auto-properties, but that’s only a question of time. Let’s just say, ReSharper decompiler is sophisticated enough to correctly infer lambda expressions and yield returns. How sophisticated is ReSharper decompiler? By the way, if Decompiled sources is at the top of the list, you can navigate to decompiled code with Go to Declaration ( F12 or Ctrl+click). If you’re trying to get ReSharper show decompiled code but it’s failing to do so, make sure that Decompiled sources is selected as an external sources data provider in ReSharper | Options | Tools | External Sources. Where can I configure the behavior of ReSharper decompiler?ĭecompiler is configured in the same group as other features from the External Sources feature group, namely ReSharper | Options | Tools | External Sources | Decompiled Sources.
However, most navigation features that ReSharper normally provides in source code are equally available in decompiled code. Well naturally, you can’t refactor decompiled libraries, generate new code in them, or run code inspections (though it would be fun in some cases). Will common ReSharper features be available with decompiled code? If you prefer browsing library types using the Object Browser, you can invoke Navigate To Decompiled Sources right from there:.You can even go further by jumping to a specific library method or property using Go to Symbol ( Shift+Alt+T). You can jump to the declaration of a specific library type from anywhere within Visual Studio using ReSharper’s Go to Type menu ( Ctrl+T in Visual Studio layout).To invoke Navigate To, press Alt+` and select Decompiled sources: This should be done via ReSharper’s Navigate To feature. You can navigate to a decompiled library symbol right from its usage in the source code.There are several ways you can navigate to decompiled code in ReSharper: How do I invoke the decompiler in ReSharper?
#Download reflector for free download
More than that, it is already available in ReSharper 6 EAP builds that you can download and try.Īs if it isn’t enough, we have more great news: make sure to read on to the end of this post.
Those of you who saw that post got the message right: ReSharper 6 will feature a decompiler. We’ve recently hinted on a new kind of functionality that’s being developed within ReSharper 6 EAP.