[Lazarus] Code Completion Templates

Howard Page-Clark hdpc at talktalk.net
Tue Feb 12 20:38:54 CET 2013


On 12/02/13 6:58, Donald Ziesig wrote:
> The following code from my TemplateExpander unit fails at compilation:
>
> uses
>    CodeToolOptions;
>
> because the compiler can't find the file.

Assuming CodeTools has been added as a dependency for your project, I 
think you also need to add in the Project Options dialog in the Compiler 
Options | Paths page, in the dropdown field labelled
"Other unit files(-Fu) (delimiter is semicolon)"
the following macro
$(LazarusDir)\units\$(TargetCPU)-$(TargetOS)\$(LCLWidgetType)





More information about the Lazarus mailing list