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

Bo Berglund bo.berglund at gmail.com
Sat Jul 16 09:31:47 CEST 2016


I am coding a command line utility in Lazarus 1.6 with FPC 3.0 on
Raspberry Pi (Raspbian Jessie).

When I write for example
  FSSComm.
I expect the tooltips to appear afterr I type the period giving me a
choice of valid FSSComm properties to select from. But what really
happens is nothing at all in the code editor. But in back of it the
Messages window shows an error:

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, 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

What does this mean and how is it related to the code editor at all?
The program compiles just fine with no errors, it is just the coding
that is less efficient when i have to go back and forth between units
to get the correct property names and then type them in...

Can it be configured so that the tool tips start working?
And why are tool tips involved in the first place?

-- 
Bo Berglund
Developer in Sweden



More information about the Lazarus mailing list