Skip to content

rfrezino/RFindUnit

Repository files navigation

RFindUnit - Version 1.2.0

Find unit (find uses) is a very simple tool and very used (Ctrl+Shift+A), but, as you know Delphi Find Unit doesn't work very well, in general it crashes or it's very slow.

Currently it have the basics expected features, and I'm working to organize, optmize and give it new functions (as auto import for example). If you help, it'll be very good.

How does it work in practice ?

IMAGE ALT TEXT

Automatically Identify unused imports

First enable it:

Enable feature

Process:

Process the file

Show if everything is right:

Show all ok

Or if there are some unused units:

Highlight unused uses

Find unit feature

Before:

Default Version

After:

RFindUnit Screen

Auto organize uses feature

It's possible to auto organize uses (Ctrl + Shift + U). It's possible to sort then by alphabetical order and split it by line and namespae, as you can see:

Before:

Before

After:

After

Instalation

Delphi Berlin or newer

  1. Download the project, or clone the project.
  2. Go to the Packages directory and choose your corresponding version
  3. Open the RFindUnit.dproj on your Delphi and right click on the project and install it.

Example

You can also install Delphinus package manager and then install RFindUnit as a package there. (Delphinus-Support)

Contact

Rodrigo Farias Rezino

[email protected]

Referenced Projects