Re: Uses clause tool



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


.



Relevant Pages

  • Re: Uses clause tool
    ... Move my own units from interface to implementation ... This tool works by parsing all of your source code, ... The parser only works for Delphi versions up to Delphi ... If a unit has a parser error, the tool will not refactor that ...
    (borland.public.delphi.thirdpartytools.general)
  • Re: Suggestion: One QC, one patch file
    ... to have the VCL open sourced. ... "The Fastcode project provides highly optimized functions for the Delphi ... Borland may be turning a blind eye to this since ... people assume immediately that if there is an open source version, the current "certified" version of the VCL that we have today would go away. ...
    (borland.public.delphi.non-technical)
  • Re: Xilinx Platform Cable USB protocol specifications and/or open-source firmware replacement
    ... JTAG is "supposed" to be an open standard ... proprietay closed interface with VERY limited static sequences exported ... Open source is not about "free", is about the ability to preserve the ... Proprietay JTAG interfaces, violates the openness of that standard. ...
    (comp.arch.fpga)
  • Re: Response a negative view about Delphi
    ... However there are plenty of examples of successful Open Source projects, including some that were based off of a commercial product: MySQL, OpenOffice, Firebird, Firefox & Co., Solaris, and plenty others. ... And there's always the annoying fact that Delphi's popularity is declining, in great part due to stagnation, resentment from long time supporters over the direction of development, loss of technological leadership, and of course loss of developers' interest due to competing FREE platform. ... With all respect to CG's efforts to add some features to Delphi, ... Delphi is not going to spring back to life just because it's a commercial product. ...
    (borland.public.delphi.non-technical)
  • Re: Borland/Delphi Dying blog entry from Ken Henderson at MS
    ... What I can tell you is that I found Clarion hard work to use. ... Delphi was - well, Delphi. ... Clarion's programming interface was certainly far from being ...
    (borland.public.delphi.non-technical)