[Lazarus] How do I tell codetools to use implicitly loaded unit for code complesion?

Mattias Gaertner nc-gaertnma at netcologne.de
Mon Jul 14 23:34:51 CEST 2014


On Sat, 05 Jul 2014 17:03:55 +0200
Michael Ring <mail at michael-ring.org> wrote:

>[...]
> Is there a way that I can give a hint to codetools to also use this unit 
> for code competion?
>
> program hello;
> uses
>    pic32mx795f512h;

Codetools have built in rules to determine the auto used units (see
TLinkScanner.GetHiddenUsedUnits).
The pic32mx795f512h needs to be added.
When is it used?
What fpc version, target OS, target CPU, options enables this unit?

Mattias




More information about the Lazarus mailing list