ddabapps / duse

A little tool for Delphi programmer to find the possible unit scopes that a unit belongs to
https://delphidabbler.com/software/unit2ns
MIT License
14 stars 2 forks source link

Add option to read a mapping from a Delphi installation's `.dcu` files #13

Closed delphidabbler closed 1 year ago

delphidabbler commented 2 years ago

Currently Unit2NS has the facility to read mapping details from a Delphi installation by reading the names of .pas files in the source directory. Is it possible to provide the option to read the precompiled .dcu files from the object files directory?

delphidabbler commented 2 years ago

Method that gets .pas files is:

https://github.com/delphidabbler/unit2ns/blob/37465c01d770eb1155cfb77cc9281bec627d369c/src/UDataIO.pas#L425

Do we need to pass required extension as a parameter?

delphidabbler commented 1 year ago

Implemented by merge commit ed46f06