[Lazarus] Lazarus tool tips/code completion do not work, why?

Mattias Gaertner nc-gaertnma at netcologne.de
Sat Jul 16 10:31:40 CEST 2016


On Sat, 16 Jul 2016 09:31:47 +0200
Bo Berglund <bo.berglund at gmail.com> wrote:

> When I write for example
>  FSSComm.
> I expect the tooltips to appear

Note: This is the "completion box", in this case the "identifier
completion". "Tooltips" is the hint window which appears when you move a
mouse over an identifier.


>[...]
> Codetools, Errors: 1
> IdGlobal.pas(1884,56) Error: expected ;, but deprecated found
> 
> And when I click that message I am trown into a completely unrelated
> unit IdGlobals belonging to Indy10,

Why do you think the unit is unrelated?
Are you using Indy units in your uses clause?


> which is in a package indylaz I
> have installed successfully in Lazarus:
> 
>   {$IFDEF UNIX}
> 
>   // For linux the user needs to set this variable to be accurate
> where used (mail, etc)
>   GOffsetFromUTC: TDateTime = 0 {$IFDEF
> HAS_DEPRECATED}deprecated{$ENDIF}; <== Error here all on one line

Lazarus 1.6 and 1.7 parse this line without problems. I didn't test
with the Indy10 sources.

Can you create a minimized version of the IdGlobals unit demonstrating
the problem?
 
>[...]

Mattias


More information about the Lazarus mailing list