Skip over navigation

DUSE

Finds the unit scope that a given Pascal unit belongs to.

Version 0.3.0
Released 2023-06-23
O/S Windows 7 / Windows Server 2012 R2 & later

Overview

DUSE is a little Windows GUI tool for Delphi programmers to find the unit scope(s) that a unit belongs to and copies the fully qualified unit name to the clipboard.

Since the introduction of unit scopes to Delphi I've been struggling to remember which scopes some units belong to. OK, sometimes the code editor pops up a list of unit names in a scope, but what I wanted was to type in a unit name and be told what unit scopes(s) the unit may belong to.

This program does that. When you have found the required unit scope name you can copy the fully qualified unit name to the clipboard ready for pasting into your code editor. It will also let you examine a unit scope to see what units it contains.

You have to teach DUSE about what units exist and the unit scopes they belong to. The program makes this easy to do. It finds installed versions of Delphi and can automatically read the units in an installation's source code directory. Alternatively it can scan directory trees and extract the unit names from any .pas or .dcu files that it finds. DUSE can remember more than one set of unit-scope name "mappings", which makes it useful for using with different versions of Delphi.

The program is available in either 64 bit 32 bit Windows versions. You should always use the 64 bit version if you are running 64 bit Windows.

No non-Windows version is (or will be) available, simply because the program is designed for use alongside the Windows-only Delphi IDE.

Download

This program is hosted on GitHub in the ddabapps/duse repository. The 64 and 32 bit versions are available as separate downloads from the repository's Releases section.

Each release gives the option of downloading the program in executable format or as source code. From release v0.3.0 the following files can be downloaded:

  • duse-64bit-0.3.0.zip – contains the 64 bit version of DUSE (DUSE.exe). The includedREADME.txt file explains how to install the program. Always use this version on 64 bit Windows.
  • duse-32bit-0.3.0.zip – contains the 32 bit version of DUSE (DUSE32.exe). The includedREADME.txt file explains how to install the program. Only use this version on 32 bit Windows.
  • Source code.zip – contains the source code in .zip format.
  • Source code.tar.gz – contains the source code as a g-zipped tarball.

Get v0.3.0 from GitHub

Documentation

The following documentation is available. All the links open on GitHub.

Bugs & Feature Requests

If you find any bugs or want to suggest a new feature, please use the GitHub project's issue tracker. You can browse existing issues to see if a similar one has already been raised. If so please add any further information as comments. If there is no similar issue please raise new one.

You will need a GitHub account if you want to create or edit an issue.