Skip to content

RFindUnit is a very simple tool, that replaces the 'find uses' Dialog in Delphi. It also detects unused Units

License

Notifications You must be signed in to change notification settings

VoSs2o0o/RFindUnit

Repository files navigation

RFindUnit - Version 1.3.0 BETA

###Todo's

  • second checkmark at implementation part
  • additional source code dirs to parse
  • e.g. TFile creates a lot of hits => new filtermethod
  • latest DelphiAST
  • DCU32Int via Code (exe Tool at moment)

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

Installation

Delphi 10.1 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

Contact

VoSs2o0o

[email protected]

Referenced Projects

About

RFindUnit is a very simple tool, that replaces the 'find uses' Dialog in Delphi. It also detects unused Units

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages