Child pages
  • Introducing JetBrains dotPeek

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

When you explore decompiled code, you may be willing to learn more about referenced types and method calls without opening their declarations. Two coding assistance features from ReSharper will help you with that: Parameter Info (Edit > Parameter Information) on a method call will display all available signatures of the given method, and Quick Documentation (Edit > Show Quick Documentation) on a usage of a type, method, property, or another type member will display an overview of its documentation comments:

  • Same tabbed tool windows as those in ReSharper (different to the actual Tool Windows that exist). Same feel. All tool windows have collapse, expand, filtering and other features available in ReSharper, as well as possibility of tabs.
  • Find Usages: The ability to see easily all the places where a type is used. This is similar to the Used By in REflector..

Navigation and Search

The primary idea behind dotPeek is to bring ReSharper experience to browsing external assemblies and make this available to everyone. The main thing that distinguishes dotPeek from other decompilers around is that the majority of ReSharper navigation features are available in dotPeek as well. Let's take a closer look at those:

Navigating decompiled code

...

Open assembly. If you don't know what you're looking for and you want to find out how things are organized within an assembly, use assembly explorer. If you know exactly or even approximately which part of the assembly you need to look at, use one of ReSharper's "go to" context-insensitive navigation features:

  • Go to type to navigate to a specific class or interface.
  • Go to symbol to navigate to an specific declaration, which could be a type, method, field, or property.
    As soon as you've opened a specific type, use Go to File Member to quickly navigate to members in this file. Alternatively, use File Structure
    There's also Go to File but in the context of dotPeek, it is limited to temporary files from dotPeek decompiled code cache, so you can use it as an extended tab switcher that also sees any tabs that you've ever closed.
  • Context-sensitive navigation (go to declaration/base/inheritor/implementation)..
  • Tool windows (File Structure, Type Hierarchy)..
  • Navigate between tool windows (from code view to assembly explorer)
  • Same tabbed tool windows as those in ReSharper (different to the actual Tool Windows that exist). Same feel. All tool windows have collapse, expand, filtering and other features available in ReSharper, as well as possibility of tabs.

Searching in decompiled code

  • Find usagesUsages: The ability to see easily all the places where a type is used. This is similar to the Used By in REflector..
  • Highlight usages in file
  • Find usages advanced
  • Quick Find

...