Experimental GExperts Version

 

For a while I have been offering experimental versions of GExperts. These versions are always based on the current SubVersion repository code of the GExperts project. In addition to the normal functionality they include the code formatter formerly known as DelForEx (link no longer available). The code has kindly been donated by Egbert van Nes.

Apart from integrating it into GExperts I have also done a lot of cleanup and bugfixing to the formatter code. It also knows some of the “new” (with Delphi 200x) language constructs. Also, this version tries to preserve the bookmarks and breakpoints (which unfortunately does not always work).

It is planned that the code formatter will be part of the next official GExperts release. Until then (and probably after that) I will be offering experimental versions. Those versions are a patch for an existing GExperts installation. The archive contains:

DLLs\GExpertsXxxx.dll
GExperts for the supported Delphi versions (6, 7, 2005-2010, XE1-XE8, 10) where the formatter is implemented as an editor expert
FormatterSettings-Yyyy.ini
Several predefined settings for use in the formatter, the default is FormatterSettings-Borland
preview.pas
A sample sourcecode file that is used inside the configuration dialog for previewing the formatting
install
A bunch of Register-GExperts-Xxx.cmd scripts for registering the GExperts DLL for the various windows version if it hasn’t be done by the official installer. (see !Readme-Install.txt for an explanation)

To install it, you must first download and install the corresponding release of GExperts (currently GExperts 1.38 Beta). To install manually without the official installer, see the included !ReadMe-Install.txt file. Afterwards you copy the file preview.pas and all the .ini files to the GExperts installation directory. In addition you need one of the .dlls. Choose the one that corresponds to your Delphi version and replace the existing GExpertsXxxx.dll file with the one from the ZIP archive.

The code formatter is an editor expert. Editor experts are listed on their own tab page of the GExperts configuration dialog. There you can define a shortcut key and open the configuration dialog.

GExperts-Code-Formatter

(Click the picture to get an animated gif showing you how to configure and use it.)

Editor experts are listed under the GExperts menu’s Editor Experts entry but are usually activated using the configured shortcut.

Download current version:
GExperts-1.38-experimental-twm-2016-02-15.zip

Older versions:

even older versions are available from my old home page.

Source Code:

Several people have asked me to provide the source code. It has always been available from the GExperts SubVersion repository
Look into the formatter branch (old versions were based on the CVS repository.).

  2 Responses to “Experimental GExperts Version”

  1. […] while ago I blogged about Safe event hooking for Delphi IDE plugins. I have used this method in GExperts as well as my Delphi IDE Explorer and it worked fine for both […]