[Lazarus] Template for unit creation

Mattias Gaertner nc-gaertnma at netcologne.de
Sat Jul 10 12:01:31 CEST 2010


On Sat, 10 Jul 2010 09:02:51 +0000
Mark Morgan Lloyd <markMLl.lazarus at telemetry.co.uk> wrote:

> Is it possible to customise a template for unit file creation? For 
> example, I like to put compiler name and version as a banner at the top 
> with a descriptive comment immediately after the unit statement, 
> (potentially) including VCS tags. Would be nice if this could be 
> part-automated.

You can register new unit types. See here
http://wiki.lazarus.freepascal.org/Extending_the_IDE#Add_your_own_file_type

No one has yet written a gui for that. It is on my todo list.


Mattias




More information about the Lazarus mailing list