[fpc-pascal] Code tools unrelated completions

Ryan Joseph genericptr at gmail.com
Tue May 5 10:54:37 CEST 2020

Code tools completions are returning functions that don't appear related to the current unit such as "fpc_Copy" from /usr/local/share/fpcsrc/rtl/inc/compproc.inc.

Here's a snippet of the code I use to get identifiers.

      if CodeToolBoss.GatherIdentifiers(Code,X + 1,Y + 1) then
          Count := CodeToolBoss.IdentifierList.GetFilteredCount;
          for I := 0 to Count - 1 do
              Identifier := CodeToolBoss.IdentifierList.FilteredItems[I];

Is this normal to be getting these results? I'd like to not have them if possible.

	Ryan Joseph

More information about the fpc-pascal mailing list