IDE Explorer

Overview

This is expert is a re-written of the original Delphi 3/4/5 Professional’s Open Tool API but now using the new RTTI unit that was introduced in RAD Studio 2010. I’ve always wanted to go back and revisit this expert’s code when I learnt that there was a new RTTI module which could provide more information about the code. Its only taken me circa 6 years.

This expert still retains the functionality of the old one but now also provides information for Fields, Methods, Properties and Events for all scopes of information (the original would only show published information).

You can access it from a menu under the Help main menu (or a sub menu of the Help in XE10 and above).

Fields

For field information the following attributes of information are provided:

  • Scope (Private, Protected, Public and Published);
  • Fully Qualified Name (this allow you to see which ancestor class the field was defined);
  • Field Type;
  • Offset of the field in the objects VTable (I think);
  • Type Kind of the Value;
  • Date Size;
  • Value.

IDEExplorerNewFields

Methods

For methods the following attributes of information are provided:

  • Scope (Private, Protected, Public and Published);
  • Fully Qualified Name (this allow you to see which ancestor class the field was defined);
  • Method Type;
  • Method Signature.

IDEExplorerNewMethods

Properties

For property information the following attributes of information are provided:

  • Scope (Private, Protected, Public and Published);
  • Fully Qualified Name (this allow you to see which ancestor class the field was defined);
  • Field Type;
  • Access type (Read Only, Write Only or Read and Write);
  • Type Kind of the Value;
  • Date Size;
  • Value.

IDEExplorerNewProperties

Events

The attributes for events are the same as those of the above properties.

IDEExplorerNewEvents

Hierarchies

The old hierarchies page has been retained and now shows the parentage of a TWinControl of applicable.

IDEExplorerNewHeirarchies

Old Properties

Finally the old published properties page as been retained.

IDEExplorerOldProperties

Download

You can download both the old version and the new versions of the IDE Explorer from the links below:

Alternates

There is also another implementations of the original code here at http://blog.dummzeuch.de/2014/06/01/delphi-ide-explorer-expert-for-delphi-xex/. Also Rudy Velthuis has also written something very similar at http://rvelthuis.de/programs/ideexplorer.html (I don’t believe its based on my code).

For information on installing this expert please refer to my post Compiling and Installing my experts and wizards….

5 thoughts on “IDE Explorer

    1. David Post author

      It depends on which version of RAD Studio you have.
      There are pre-built BPLs for 2010, XE, XE2, XE7 and XE10 which you can simple install as a new package otherwise you will need to open one of the project files, do a file save as to change it to the version of the IDE you have and then recompile / install the BPL (right click on the project in the Project Manager).

    1. David Post author

      Okay, there are 2 choices for installation. If you have RAD Studio XE10, XE7, XE2, XE or 2010 you can load the rebuilt BPL files using the Installed Components menu option (I think from memory). If you have XE3-6 or 8 then you will need to take the next lowest package (DPK) open it, do a save as renaming it to your version then compile the package and install it using the project managers context menu.

      After either of these you will end up with a new menu under the Help menu (XE10 uses a sub menu) call IDE Explorer. Click on this and it will display showing you all the forms in the IDE which you can browse.

  1. Barry Dirks

    Thanks, Dave. I looked at every main menu item except Help…of course.

Comments are closed.