On Fri, 24 Apr 2020 16:40:14 +0700 Ryan Joseph via fpc-pascal <fpc-pascal@lists.freepascal.org> wrote:
> > On Apr 24, 2020, at 4:35 PM, Mattias Gaertner via fpc-pascal > > <fpc-pascal@lists.freepascal.org> wrote: > > > > codetools that scans Lazarus packages. > > > > In Short: You can omit LAZARUSDIR. > > > > Setting PP might be useful. > > > > You can add unit and include paths: > > https://wiki.freepascal.org/Codetools#Defining_search_paths_and_macros > > Setting FPCDIR from the editor fixed the problem. I'm not crazy about > getting tons of completions from the System module though. Lots of > clutter for things I never use. Is there a way to hide those? In your loop Completion.detail:=Identifier.Node.Desc... Note: Always check if Node<>nil. You can check the unit via Tool:=Identifier.Tool; If Tool<>nil then if sametext(ExtractFilenameOnly(Tool.MainFilename),'system') then ...hide... Mattias _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal