[fpc-pascal] Pascal Language Server
Mattias Gaertner
nc-gaertnma at netcologne.de
Sat Apr 25 09:10:45 CEST 2020
On Sat, 25 Apr 2020 09:02:50 +0200
Mattias Gaertner via fpc-pascal <fpc-pascal at lists.freepascal.org> wrote:
> On Sat, 25 Apr 2020 12:03:55 +0700
> Ryan Joseph via fpc-pascal <fpc-pascal at lists.freepascal.org> wrote:
>
> > I have FindCodeContext working correctly I believe because ProcName
> > from TCodeContextInfo returns the correct name of the function. In
> > TCodeContextInfoItem the params string list is nil though. Shouldn't
> > that contain the list of parameters? Not sure how this intended to
> > be used if that list of empty.
>
> Is X,Y inside the brackets?
The TCodeContextInfoItem.ProcName is set only for compiler built-in
functions.
Normal functions have an Expr<>nil.
See procedure TCodeContextFrm.CreateHints in
lazarus/ide/codecontextform.pas
Mattias
More information about the fpc-pascal
mailing list