Next wish... (how many do you get from this genie?)

AutoCode templates

Things like when a procedure is auto-generated by the IDE it would be nice to
have some control over the layout with allowances for pregenerated comment blocks
(to maintain a corporate documentation style).

A template should be available for
Object Procedure
Class Procedure
Object Function
Class Function
Constructor
Destructor

Such that a template could be:
[Object Procedure]
// Purpose:
$HEADER
// PARAMETERS:
//    $PAR: 

[Object Function]
// Purpose:
$HEADER
// PARAMETERS:
//    $PAR.FLAGS $PAR.NAME ($PAR.Type): 
// RETURNING:
//    $RET.TYPE:

So that an TMyObject function
    function A(A,B,C :Integer; const F :String):Float;

would be generated as

// Purpose:
function TMyObject.A(A,B,C :Integer; const F :String):Float;
// PARAMETERS:
//    A (Integer):
//    B (Integer):
//    C (Integer):
//    const F (String):
// RETURNING:
//    Float:
}
begin
end;

--
Aaron Scott-Boddendijk
Jump Productions
(07) 838-3371 Voice
(07) 838-3372 Fax

---------------------------------------------------------------------------
  New Zealand Delphi Users group - Offtopic List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to