Unit2NS 0.2.0-beta released

I've released the first update to Unit2NS that adds a new feature. It also fixes some bugs.

This release enables the program to create a "mapping" for any installed version of Delphi that supports unit scope names, without the user having to find the Delphi installation.

I think pictures will explain this feature better than words. If you click either the New Mapping or Edit Mapping buttons on the main window you will see a dialogue box something like this:

Unit2NS New Mapping Dialogue Box

The button surrounding by the red box is new. Clicking it displays the Select Compiler dialogue box:

Unit2NS Select Compiler Dialogue Box

Any version of Delphi you have installed that supports unit scope names will appear in the dialogue box. On my system, the only such compile is Delphi 11, as can be seen above. Select the required compiler and click OK.

You will be returned to the New Mapping or Edit Mapping dialogue box, as appropriate, and will find that the list of units has been populated with all the units in the source code directory of the selected Delphi version:

Unit2NS New Mapping dialogue box showing units for selected Delphi version

I'm hoping that this feature should save some time when setting up mappings.

If you don't have a suitable version of Delphi installed then the Read Units From Delphi Installation button will be disabled. "Suitable" versions of Delphi are, as I've already noted, those that support unit scope names, i.e. Delphi XE2 and later.

You can get this new release from GitHub. For full details of the changes in this release, see the change log.

Since this is still beta software, please be prepared for bugs. If you find any please report them on the Unit2NS Issues page. Log feature requests in the same place.

Comments

Popular posts from this blog

Call JavaScript in a TWebBrowser and get a result back

Pascal Syntax Highlighter v2.3.0 released

System Information Unit v5.12.0 released