Re: Uses clause tool
- From: Falanga Alain <afalanga~r~emove-this@xxxxxxxxxxx>
- Date: Sat, 26 Aug 2006 23:29:35 +0200
Hi Charles,
I'm interested by this. Could you please send me an email or post in the attachement group.
Cheers,
A.
Charles McAllister vient de nous annoncer :
Koger wrote:Hi
I'm looking for a tool to do the following.
+ Remove unused units
+ Move my own units from interface to implementation
- Sort the uses clause
- Arrange implementation uses clause to have one unit at a line.
Any recommendations?
Thank you
Hi Koger!
I have a tool to remove unused units, and move units to the implementation section. This tool is called CodeWrench.
Note that Delphi will insist on having units appear in the interface section that aren't actually required for compilation. My tool has an option for leaving these units in the interface section.
The tool will not sort units or do any kind of special formatting. But it is open source so you could do this yourself.
This tool works by parsing all of your source code, and building a list of symbols declared in each unit, and a list for each symbol for where the symbol is referenced. Once this information is gathered, CodeWrench can then determine what units are required for compilation.
The parser only works for Delphi versions up to Delphi 7. If a unit has a parser error, the tool will not refactor that unit.
I had a website for this tool, but its no longer up and running (hopefully for not much longer). If you or anyone else is interested, you can e-mail me for now.
--
Ceci est une signature automatique de MesNews.
Site : http://www.mesnews.net
.
- References:
- Uses clause tool
- From: Koger
- Re: Uses clause tool
- From: Charles McAllister
- Uses clause tool
- Prev by Date: Re: Borland C++ Database: help me!
- Next by Date: What's needed to capture web page as image?
- Previous by thread: Re: Uses clause tool
- Next by thread: Re: Uses clause tool
- Index(es):
Relevant Pages
|